Skip to content

Commit

Permalink
Merge pull request #8 from aroskanalen/feature/configurable-base-path
Browse files Browse the repository at this point in the history
Make base path configurable
  • Loading branch information
tuj authored Aug 1, 2024
2 parents 4a8b2ec + 8dbe057 commit 2a0b19e
Show file tree
Hide file tree
Showing 9 changed files with 312 additions and 300 deletions.
2 changes: 1 addition & 1 deletion .docker/vhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ server {
proxy_pass http://node:3000;
}

location /ws {
location /admin/ws {
proxy_pass http://node:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
Expand Down
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ yarn-error.log*
# Temp files
temp/

# API mock
json-server/

public/config.json
public/access-config.json
public/release.json
# Playwright
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/

# Json files in public folder
public/config.json
public/access-config.json
public/release.json
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@

# Changelog

All notable changes to this project will be documented in this file.

## [Unreleased]

- Fixed base path to /admin in vite setup.
- Changed from vite CJS to ESM.
- Removed array spread.
- Fixed HMR setup.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description of the admin.

### Create public/config file

By default the api that is requested is located at `/api/`.
By default, the api that is requested is located at `/api/`.
This can be configured by:

```shell
Expand Down
Loading

0 comments on commit 2a0b19e

Please sign in to comment.