Sends 404 when parseServerURL is not set on public pages
- throws when verifyEmail = true && publicServerURL not set
This commit is contained in:
@@ -182,7 +182,7 @@ function ParseServer({
|
||||
maxUploadSize: maxUploadSize
|
||||
}));
|
||||
|
||||
api.use('/', bodyParser.urlencoded({extended: false}), new PublicAPIRouter().expressApp());
|
||||
api.use('/', bodyParser.urlencoded({extended: false}), new PublicAPIRouter().expressApp());
|
||||
|
||||
// TODO: separate this from the regular ParseServer object
|
||||
if (process.env.TESTING == 1) {
|
||||
|
||||
Reference in New Issue
Block a user