초기소스

This commit is contained in:
jazz
2025-10-29 17:08:05 +09:00
parent e531aa9540
commit 439a379a02
7551 changed files with 1234427 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="ko">
<script>
var fullUrl = '${accessUrl}';
var currentUrl = '${currentUrl}';
// fullUrl이 없으면 currentUrl로 설정
if (!fullUrl || fullUrl.trim() === "") {
fullUrl = currentUrl;
}
var hashIndex = fullUrl.indexOf('#');
// # 기호가 있는 경우 URL에서 # 기호와 그 이후를 제거
var cleanUrl = hashIndex !== -1 ? fullUrl.substring(0, hashIndex) : fullUrl;
var encodedRedirectUri = encodeURIComponent(cleanUrl);
location.href = "/login?redirect_uri=" + encodedRedirectUri;
</script>
</html>
<%--권한 접근이 안되어 튕겨냄--%>