Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek29 committed Nov 26, 2024
1 parent 00853ca commit b26162e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
- name: install playwright browser
working-directory: ./client
run: npx playwright install --with-deps
run: npx playwright install --with-deps &

- name: Run Playwright tests
working-directory: ./client
run: npx playwright test
run: npx playwright test --reporter=line

- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
Expand Down
4 changes: 2 additions & 2 deletions client/src/utils/services.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

export const baseUrl = import.meta.env.VITE_API_BASE_URL || 'http://localhost:3000/api';
const port = import.meta.env.VITE_API_PORT || 3000;
export const baseUrl = `http://localhost:${port}/api`;

export const fetchFromApi = async (url: string, body: string) => {

Expand Down
2 changes: 1 addition & 1 deletion socket/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ io.on('connection', (socket) => {

const port = process.env.PORT || 3020;
io.listen(port);
console.log('socket listening on port ', port);
console.log('socket listening on port', port);


//Shutdown the socket server
Expand Down

0 comments on commit b26162e

Please sign in to comment.