mirror of
https://gitlab.com/SpaccInc/SpaccDotWeb.git
synced 2025-06-05 21:29:12 +02:00
[Server] Fix client re-navigation to same page, pass isEnv to context
This commit is contained in:
@ -8,9 +8,9 @@ const server = SpaccDotWebServer.setup({
|
||||
linkStyles: [ 'index.css' ],
|
||||
// linkRuntimeScripts: [], // not (yet) implemented
|
||||
linkClientScripts: [ 'particles.js' ],
|
||||
// pageTitler: (title, opts={}) => `...`,
|
||||
// appPager: (content, title, opts={}) => `...`,
|
||||
// htmlPager: (content, title, opts={}) => `...`,
|
||||
// pageTitler: (title, opts={}, context) => `...`,
|
||||
// appPager: (content, title, opts={}, context) => `...`,
|
||||
// htmlPager: (content, title, opts={}, context) => `...`,
|
||||
});
|
||||
|
||||
if (SpaccDotWebServer.envIsNode && ['dump', 'html', 'writeStaticHtml'].includes(process.argv[2])) {
|
||||
|
Reference in New Issue
Block a user