aboutsummaryrefslogtreecommitdiff
path: root/src/server/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/index.ts')
-rw-r--r--src/server/index.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/server/index.ts b/src/server/index.ts
index a0101e3f8..29b44713c 100644
--- a/src/server/index.ts
+++ b/src/server/index.ts
@@ -175,15 +175,6 @@ const read_text_file = (relativePath: string) => {
});
};
-app.get('/layoutscripts', (req, res) => {
- let prefix = '../scraping/buxton/scripts/';
- read_text_file(prefix + 'initialization.txt').then(arrangeInit => {
- read_text_file(prefix + 'layout.txt').then(arrangeScript => {
- res.send(JSON.stringify({ arrangeInit, arrangeScript }));
- });
- });
-});
-
app.get("/version", (req, res) => {
exec('"C:\\Program Files\\Git\\bin\\git.exe" rev-parse HEAD', (err, stdout, stderr) => {
if (err) {