$EDITOR trim & title fix #1

Closed
decentral1se wants to merge 2 commits from chore-tidy-and-title into main
  1. 2
      backend/middleware/errors.js
  2. 1
      backend/tests/routes.js
  3. 2
      frontend/index.html
  4. 1
      frontend/src/controllers/Router.js
  5. 1
      server.js

2
backend/middleware/errors.js

@ -2,5 +2,3 @@
export default (err, _, res) => { export default (err, _, res) => {
res.status(500).json({ message: err.message }) res.status(500).json({ message: err.message })
} }

1
backend/tests/routes.js

@ -89,4 +89,3 @@ test.serial('post "/api/point/add" with incorrect data keys throws 500 error', a
test.after(async () => { test.after(async () => {
await db.migrate.down() await db.migrate.down()
}) })

2
frontend/index.html

@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" />
<base href="/"> <base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title> <title>Ethermap</title>
<!-- leaflet --> <!-- leaflet -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"

1
frontend/src/controllers/Router.js

@ -33,4 +33,3 @@ export default new Router({
} }
] ]
}) })

1
server.js

@ -15,4 +15,3 @@ const io = new Server(server)
ViteExpress.bind(App, server) ViteExpress.bind(App, server)
Socket(io) Socket(io)

Loading…
Cancel
Save