fix: Remove backslash escape causing syntax error in backend/server.js
Build and Deploy / build-and-push (push) Successful in 1m2s
Build and Deploy / build-and-push (push) Successful in 1m2s
This commit is contained in:
+1
-1
@@ -707,7 +707,7 @@ app.post('/api/sparkplug/edit-layer', authenticate, async (req, res) => {
|
||||
const filepath = path.join(uploadsDir, filename);
|
||||
fs.writeFileSync(filepath, buffer);
|
||||
|
||||
res.json({ imageUrl: \`/uploads/\${filename}\` });
|
||||
res.json({ imageUrl: `/uploads/${filename}` });
|
||||
} catch (err) {
|
||||
let errorMsg = err.message;
|
||||
if (err.response && err.response.data) {
|
||||
|
||||
Reference in New Issue
Block a user