Skip to content

Commit

Permalink
♻️ refactor: refactor codebase configs #2
Browse files Browse the repository at this point in the history
  • Loading branch information
pnguyen215 committed Jun 2, 2024
1 parent 5e7321d commit cc40905
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ clean:
publish:
npm run publish

host: clean build
@if [ -d "dist/client" ]; then \
cd dist/client && http-server -p 4001 -o; \
else \
echo "Error: dist/client directory does not exist. Ensure the build step creates it."; \
fi

tree:
# Create logs directory if not exists
mkdir -p logs
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// The build system defaults to the dev environment which uses `environment.ts`,
export const environment = {
production: false,
apiKey: 113
apiKey: 'v1.0.0',
};

0 comments on commit cc40905

Please sign in to comment.