Skip to content

Commit

Permalink
Fixes Nginx path (parcelvoy#121)
Browse files Browse the repository at this point in the history
* Fixes Nginx path

* Speeds up tests
  • Loading branch information
pushchris authored Apr 10, 2023
1 parent a5b4f62 commit cfdea76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
npm run lint
test:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -78,7 +77,6 @@ jobs:
STORAGE_DRIVER: s3

build:
needs: lint
runs-on: ubuntu-latest

strategy:
Expand Down
2 changes: 2 additions & 0 deletions apps/platform/src/config/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import CampaignSendJob from '../campaigns/CampaignSendJob'
import CampaignStateJob from '../campaigns/CampaignStateJob'
import CampaignGenerateListJob from '../campaigns/CampaignGenerateListJob'
import CampaignInteractJob from '../campaigns/CampaignInteractJob'
import PushJob from '../providers/push/PushJob'

export type Queues = Record<number, Queue>

Expand All @@ -32,6 +33,7 @@ export const loadJobs = (queue: Queue) => {
queue.register(ListPopulateJob)
queue.register(ListStatsJob)
queue.register(ProcessListsJob)
queue.register(PushJob)
queue.register(TextJob)
queue.register(UserPatchJob)
queue.register(UserDeleteJob)
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/docker/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ server {
try_files $uri $uri/ /index.html;
}

location ~ ^\/(api|uploads|.well-known|c|o) {
location ~ ^\/(api|uploads|.well-known|c\/|o\/) {
proxy_pass http://api:3001;
}

Expand Down

0 comments on commit cfdea76

Please sign in to comment.