Skip to content

Commit

Permalink
Fix redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
octospacc committed Mar 19, 2024
1 parent c60c72c commit 5b23f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WriteRedirectPages.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs');
for (const page of [
{ path: "a/fb", target: "'../../FramesBrowser/'+location.hash" }, // Apps/FramesBrowser
{ path: "s/dh", target: "'../../FramesBrowser/#_1|f=1|h='+location.hash" }, // Services/DataHTML
{ path: "a/fb", target: "'../../FramesBrowser/'+location.hash" }, // Apps/FramesBrowser
{ path: "s/dh", target: "'../../FramesBrowser/#_1|f=1|h='+location.hash.slice(1)" }, // Services/DataHTML
]) {
const dirPath = `./${page.path}`;
if (!fs.existsSync(dirPath)){
Expand Down

0 comments on commit 5b23f58

Please sign in to comment.