Skip to content

Commit

Permalink
fix: Failing LM start
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarek-kindred committed May 27, 2024
1 parent 6a77061 commit 8df86ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lock-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dev.start": "set -o allexport; source .env ; set +o allexport; npm run build && npm run start",
"dev.build-image": "source .env; docker build -t $REGISTRY_URL/$SERVICE_NAME:$IMAGE_TAG .",
"dev.k8-deploy": "./deployment/pit/deploy.sh",
"start": "node $LOCK_MANAGER_NODE_OPTIONS dist/index.js",
"start": "node $LOCK_MANAGER_NODE_OPTIONS dist/src/index.js",
"migrate": "npx node-pg-migrate",
"migrate:up": "npm run migrate up",
"migrate:down": "npm run migrate down",
Expand Down
3 changes: 2 additions & 1 deletion lock-manager/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ const main = async () => {
app.use(jsonParser)

const _apiRoutes = new ApiRoutes(app, db)
const oasFilePath = new URL(" ", import.meta.url).pathname
// const oasFilePath = new URL(" ", import.meta.url).pathname
const oasFilePath = "dist/src/web-api/v1/open-api-schema-v1.yml"
try {
await fs.promises.access(oasFilePath, fs.constants.R_OK)
} catch (e) {
Expand Down

0 comments on commit 8df86ca

Please sign in to comment.