Skip to content

Commit

Permalink
Merge pull request #646 from WatWowMap/develop
Browse files Browse the repository at this point in the history
fix api
  • Loading branch information
TurtIeSocks authored Jan 20, 2023
2 parents 16dbc44 + 1be8de2 commit fc07369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactmap",
"version": "1.9.2",
"version": "1.9.3",
"description": "React based frontend map.",
"main": "ReactMap.js",
"author": "TurtIeSocks <58572875+TurtIeSocks@users.noreply.github.com>",
Expand Down
2 changes: 1 addition & 1 deletion server/src/routes/rootRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fs.readdir(resolve(__dirname, './api/v1/'), (e, files) => {
files.forEach((file) => {
try {
rootRouter.use(
`/v1/${file.replace('.js', '')}`,
`/api/v1/${file.replace('.js', '')}`,
require(resolve(__dirname, './api/v1/', file)),
)
console.log(`[API] Loaded ${file}`)
Expand Down

0 comments on commit fc07369

Please sign in to comment.