-
-
Save DuncanFaulkner/c2197d6e771e422118885aeb5d9ac496 to your computer and use it in GitHub Desktop.
ssr-8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Exclude admin pages from SSR | |
app.get('/admin(/**)?', (req, res) => { | |
res.sendFile(join(DIST_FOLDER, 'index.html')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment