-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vnv
29 lines (23 loc) · 781 Bytes
/
.vnv
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
# This is an example of how you might use valid-env
# If you are contributing to valid-env this is a great way to test things out
@startsWith("https://")
@min(10)
ALLOWED_ORIGINS=["https://github.com", "https://aidanbleser.com"]
@min(1000)
@public
@dev
POLLING_INTERVAL=5000
@min(1000)
@public
@prod
POLLING_INTERVAL=10000
@min(1024)
@max(49151)
@public
PORT=3000
@dev
@min(1)
API_KEY="g74Ed6Z6txrEiGX9rSybQxWfVCFDfvAvhuOBrZvsTjfuGNrNt1jyjHfhQPSdzNh5kf6juBsGfRhjFpyfJEl8L2pw39DCs2A2yJKLfWht6sY7HCalLNpDNWcHbWip8Jpc"
# IP Address regex thanks ChatGPT
@matches("^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$")
ALLOWED_IPS=["172.16.100.10", "192.168.1.1"]