mirror of
https://gitlab.com/octospacc/octospacc.gitlab.io
synced 2025-02-17 20:30:36 +01:00
Fix redirect
This commit is contained in:
parent
c60c72c61e
commit
5b23f5834f
@ -1,7 +1,7 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
for (const page of [
|
for (const page of [
|
||||||
{ path: "a/fb", target: "'../../FramesBrowser/'+location.hash" }, // Apps/FramesBrowser
|
{ path: "a/fb", target: "'../../FramesBrowser/'+location.hash" }, // Apps/FramesBrowser
|
||||||
{ path: "s/dh", target: "'../../FramesBrowser/#_1|f=1|h='+location.hash" }, // Services/DataHTML
|
{ path: "s/dh", target: "'../../FramesBrowser/#_1|f=1|h='+location.hash.slice(1)" }, // Services/DataHTML
|
||||||
]) {
|
]) {
|
||||||
const dirPath = `./${page.path}`;
|
const dirPath = `./${page.path}`;
|
||||||
if (!fs.existsSync(dirPath)){
|
if (!fs.existsSync(dirPath)){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user