Skip to content

Commit

Permalink
諸々ちょっと直した
Browse files Browse the repository at this point in the history
  • Loading branch information
Rozelin-dc committed Jun 15, 2024
1 parent 096561c commit 39f14c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module.exports = {
semi: false,
},
],
'no-case-declarations': 'off',
},
parser: 'vue-eslint-parser',
parserOptions: {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"build:prod": "export NODE_ENV=production && vue-tsc && vite build",
"preview": "vite preview",
"lint": "eslint src --ext .js,.ts,.vue",
"gen-api": "node ./scripts/gen-api.js",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/apis/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Apis, Configuration } from './generated'
const api = new Apis(
new Configuration({
basePath:
import.meta.env.MODE === 'production'
process.env.NODE_ENV === 'production'
? 'https://trap.show/h24s_19_server'
: 'http://localhost:3000',
}),
Expand Down

0 comments on commit 39f14c8

Please sign in to comment.