diff options
| author | Bobby <[email protected]> | 2022-07-05 00:23:58 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-07-05 00:23:58 +0530 |
| commit | 406a35de9d0d37d20123a0a3e961614142c2cf3c (patch) | |
| tree | 31299b83e59f02ad08051c7e21655e1895b79106 /server.js | |
| parent | de994764b87d2716f951941f26a1044aaca63ed7 (diff) | |
| download | thatcomputerscientist-archived.tar.xz thatcomputerscientist-archived.zip | |
Updarte Screenshot API as a Public Servicearchived
Diffstat (limited to 'server.js')
| -rw-r--r-- | server.js | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -32,10 +32,8 @@ app.use( }) ); -// Setup API subdomain -app.use( - subdomain("api", require("./routes/api")) -); +app.use(subdomain("screenshot.api", require("./routes/api/public/screenshot.js"))); +app.use(subdomain("api", require("./routes/api"))); // Set Template Engine app.set("view engine", "ejs"); |
