-
Notifications
You must be signed in to change notification settings - Fork 0
/
Spacefile
32 lines (31 loc) · 870 Bytes
/
Spacefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
v: 0
app_name: "amvstrmAPI"
icon: "./icon.png"
micros:
- name: amvstrmAPI
src: .
engine: nodejs16
run: node index.js
dev: npm run dev
primary: true
public: true
presets:
env:
- name: RATE_LIMIT
description: Rate limit your API request.
default: '300'
- name: ALLOWLIST
description: Set URL list to bypass Rate limter and CORS.
default: '*'
- name: BLOCK_WITH_CORS
description: Enable CORS to block the URL that is not in the list
default: 'false'
- name: SENTRY_DSN_URL
description: Track and monitor your API with Sentry.io
default: ''
- name: USE_REDIS
description: Enable redis cache
default: 'false'
- name: REDIS_APP_URL
description: redis TCP url
default: ''