You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Path on which APIs should be mounted. Do not change this. This variable shall be removed & value hardcoded in the source code in coming versions.
27
27
PARSE_MOUNT=/app
28
28
# Set it to the URL from where APIs will be accessible to the NodeJS functions, for local development it should be localhost:3000/api/app (use your local port number instead)
// Parse Server plays nicely with the rest of your web routes
198
-
app.get('/api',function(req,res){
198
+
app.get('/',function(req,res){
199
199
// res.statusCode = 200;
200
200
// res.setHeader('Content-Type', 'text/plain');
201
201
// res.end('I dream of being a website. Please star the parse-server repo on GitHub!');
202
-
res.status(200).send('opensign-server is running !!!');
202
+
res.status(200).send('open-sign-server is running !!!');
203
203
});
204
204
205
205
if(!process.env.TESTING){
@@ -209,13 +209,13 @@ if (!process.env.TESTING) {
209
209
httpServer.keepAliveTimeout=100000;// in milliseconds
210
210
httpServer.headersTimeout=100000;// in milliseconds
211
211
httpServer.listen(port,function(){
212
-
console.log('opensign-server running on port '+port+'.');
212
+
console.log('parse-server-example running on port '+port+'.');
213
213
constisWindows=process.platform==='win32';
214
214
// console.log('isWindows', isWindows);
215
215
216
216
constmigrate=isWindows
217
-
? `set APPLICATION_ID=${process.env.APP_ID}&& set SERVER_URL=http://localhost:8080/api/app&& set MASTER_KEY=${process.env.MASTER_KEY}&& npx parse-dbtool migrate`
? `set APPLICATION_ID=${process.env.APP_ID}&& set SERVER_URL=http://localhost:8080/app&& set MASTER_KEY=${process.env.MASTER_KEY}&& npx parse-dbtool migrate`
0 commit comments