Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33311005
D3550.1768809842.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3550.1768809842.diff
View Options
diff --git a/server/src/server.js b/server/src/server.js
--- a/server/src/server.js
+++ b/server/src/server.js
@@ -58,9 +58,9 @@
const router = express.Router();
router.use('/images', express.static('images'));
- router.use(`${landingBaseRoutePath}images`, express.static('images'));
+ router.use('/commlanding/images', express.static('images'));
router.use('/fonts', express.static('fonts'));
- router.use(`${landingBaseRoutePath}fonts`, express.static('fonts'));
+ router.use('/commlanding/fonts', express.static('fonts'));
router.use('/misc', express.static('misc'));
router.use(
'/.well-known',
@@ -81,7 +81,7 @@
express.static('app_compiled', compiledFolderOptions),
);
router.use(
- `${landingBaseRoutePath}compiled`,
+ '/commlanding/compiled',
express.static('landing_compiled', compiledFolderOptions),
);
router.use('/', express.static('icons'));
@@ -97,10 +97,7 @@
);
}
- router.post(
- `${landingBaseRoutePath}subscribe_email`,
- emailSubscriptionResponder,
- );
+ router.post('/commlanding/subscribe_email', emailSubscriptionResponder);
router.get(
'/create_version/:deviceType/:codeVersion',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 8:04 AM (32 m, 2 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5955300
Default Alt Text
D3550.1768809842.diff (1 KB)
Attached To
Mode
D3550: Revert "use landing base route path to construct endpoints"
Attached
Detach File
Event Timeline
Log In to Comment