stricter randomColor.js serving
parent
2b4770a8da
commit
816ea77749
2
app.js
2
app.js
|
|
@ -69,7 +69,7 @@ app.use(urlPrefix + '/lib/cityssm-bulma-js', express.static(path.join('node_modu
|
|||
app.use(urlPrefix + '/lib/cityssm-bulma-webapp-js', express.static(path.join('node_modules', '@cityssm', 'bulma-webapp-js')));
|
||||
app.use(urlPrefix + '/lib/fa', express.static(path.join('node_modules', '@fortawesome', 'fontawesome-free')));
|
||||
app.use(urlPrefix + '/lib/leaflet', express.static(path.join('node_modules', 'leaflet', 'dist')));
|
||||
app.use(urlPrefix + '/lib/randomcolor', express.static(path.join('node_modules', 'randomcolor')));
|
||||
app.use(urlPrefix + '/lib/randomcolor/randomColor.js', express.static(path.join('node_modules', 'randomcolor', 'randomColor.js')));
|
||||
const sessionCookieName = configFunctions.getProperty('session.cookieName');
|
||||
const FileStoreSession = FileStore(session);
|
||||
app.use(session({
|
||||
|
|
|
|||
4
app.ts
4
app.ts
|
|
@ -139,8 +139,8 @@ app.use(
|
|||
)
|
||||
|
||||
app.use(
|
||||
urlPrefix + '/lib/randomcolor',
|
||||
express.static(path.join('node_modules', 'randomcolor'))
|
||||
urlPrefix + '/lib/randomcolor/randomColor.js',
|
||||
express.static(path.join('node_modules', 'randomcolor', 'randomColor.js'))
|
||||
)
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
<script src="<%= urlPrefix %>/lib/cityssm-bulma-webapp-js/dist/cityssm.min.js"></script>
|
||||
<script src="<%= urlPrefix %>/lib/bulma-calendar/js/bulma-calendar.min.js"></script>
|
||||
<script src="<%= urlPrefix %>/lib/leaflet/leaflet.js"></script>
|
||||
<script src="<%= urlPrefix %>/lib/randomcolor/randomcolor.js"></script>
|
||||
<script src="<%= urlPrefix %>/lib/randomcolor/randomColor.js"></script>
|
||||
<script>
|
||||
cityssm.htmlModalFolder ="<%= urlPrefix %>/html/";
|
||||
bulmaJS.init();
|
||||
|
|
|
|||
Loading…
Reference in New Issue