remove page-proxy and merge to code-center
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@kevisual/code-center",
|
"name": "@kevisual/code-center",
|
||||||
"version": "0.0.9",
|
"version": "0.0.10",
|
||||||
"description": "code center",
|
"description": "code center",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ app
|
|||||||
<script>
|
<script>
|
||||||
const redirect = new URL('${reqUrl}', window.location.origin);
|
const redirect = new URL('${reqUrl}', window.location.origin);
|
||||||
const encodeRedirect = encodeURIComponent(redirect.toString());
|
const encodeRedirect = encodeURIComponent(redirect.toString());
|
||||||
const toPage = new URL('/user/login/?user-check=true&redirect='+encodeRedirect, window.location.origin);
|
const toPage = new URL('/root/login/?user-check=true&redirect='+encodeRedirect, window.location.origin);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.href = toPage.toString();
|
window.location.href = toPage.toString();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|||||||
Reference in New Issue
Block a user