mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 04:05:06 -04:00
Build 29035725
This commit is contained in:
parent
a1bf54af71
commit
819197031f
64 changed files with 3494 additions and 6921 deletions
|
@ -9,9 +9,9 @@ app.use(bodyParser.text({
|
|||
limit:'1MB'
|
||||
}));
|
||||
|
||||
app.post('/src/levels.json', (req, res) => {
|
||||
app.post('/src/data/levels.json', (req, res) => {
|
||||
if(req.body?.trim()) {
|
||||
fs.writeFileSync('src/levels.json', req.body)
|
||||
fs.writeFileSync('src/data/levels.json', req.body)
|
||||
}
|
||||
res.end('OK')
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue