Skip to content

Commit

Permalink
Revert dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Sep 7, 2024
1 parent 7c0868b commit 7b4d2c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,8 @@
window.writeDestination = writeDestination;
window.bookingTableSearch = bookingTableSearch;

const apiServer = window.location.hostname === 'navigations.ichtus.club' ? 'ichtus.club' : 'my-ichtus.lan';
const apiServer =
window.location.hostname === 'navigations.ichtus.club' ? 'ichtus.club' : 'dev.ichtus.club';
const cacheBuster = '?time=' + new Date().getTime();

await import('https://' + apiServer + '/vanilla/main.js' + cacheBuster);
Expand Down

0 comments on commit 7b4d2c8

Please sign in to comment.