mirror of
https://fast.feibisi.com/https://github.com/parcelvoy/platform.git
synced 2025-08-29 11:56:04 +08:00
parent
a5b4f62d29
commit
cfdea761f7
3 changed files with 3 additions and 3 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -24,7 +24,6 @@ jobs:
|
||||||
npm run lint
|
npm run lint
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: lint
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -78,7 +77,6 @@ jobs:
|
||||||
STORAGE_DRIVER: s3
|
STORAGE_DRIVER: s3
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: lint
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
@ -16,6 +16,7 @@ import CampaignSendJob from '../campaigns/CampaignSendJob'
|
||||||
import CampaignStateJob from '../campaigns/CampaignStateJob'
|
import CampaignStateJob from '../campaigns/CampaignStateJob'
|
||||||
import CampaignGenerateListJob from '../campaigns/CampaignGenerateListJob'
|
import CampaignGenerateListJob from '../campaigns/CampaignGenerateListJob'
|
||||||
import CampaignInteractJob from '../campaigns/CampaignInteractJob'
|
import CampaignInteractJob from '../campaigns/CampaignInteractJob'
|
||||||
|
import PushJob from '../providers/push/PushJob'
|
||||||
|
|
||||||
export type Queues = Record<number, Queue>
|
export type Queues = Record<number, Queue>
|
||||||
|
|
||||||
|
@ -32,6 +33,7 @@ export const loadJobs = (queue: Queue) => {
|
||||||
queue.register(ListPopulateJob)
|
queue.register(ListPopulateJob)
|
||||||
queue.register(ListStatsJob)
|
queue.register(ListStatsJob)
|
||||||
queue.register(ProcessListsJob)
|
queue.register(ProcessListsJob)
|
||||||
|
queue.register(PushJob)
|
||||||
queue.register(TextJob)
|
queue.register(TextJob)
|
||||||
queue.register(UserPatchJob)
|
queue.register(UserPatchJob)
|
||||||
queue.register(UserDeleteJob)
|
queue.register(UserDeleteJob)
|
||||||
|
|
|
@ -7,7 +7,7 @@ server {
|
||||||
try_files $uri $uri/ /index.html;
|
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;
|
proxy_pass http://api:3001;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue