We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3affed0 commit ee02098Copy full SHA for ee02098
src/utils/serverAPI.js
@@ -109,8 +109,8 @@ export function GET(url, callback) {
109
});
110
}
111
112
-// function to call the shutdown API
+// Function to call the shutdown API
113
export function shutdown(callback) {
114
- const shutdownUrl = 'http://localhost:5000/shutdown';
+ const shutdownUrl = `${server}:${port}/shutdown`;
115
POST(shutdownUrl, null, callback);
116
0 commit comments