-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevvit.json
More file actions
65 lines (65 loc) · 1.29 KB
/
devvit.json
File metadata and controls
65 lines (65 loc) · 1.29 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"$schema": "https://developers.reddit.com/schema/config-file.v1.json",
"name": "streax-champ",
"permissions": {
"http": {
"enable": true,
"domains": [
"firestore.googleapis.com",
"oauth2.googleapis.com",
"generativelanguage.googleapis.com"
]
},
"redis": true,
"reddit": {
"asUser": [
"SUBMIT_COMMENT",
"SUBSCRIBE_TO_SUBREDDIT"
]
}
},
"scheduler": {
"tasks": {
"daily-quiz-generation": {
"endpoint": "/internal/jobs/daily-generation"
},
"daily-quiz-leaderboard-sync": {
"endpoint": "/internal/jobs/leaderboard-sync"
}
}
},
"post": {
"dir": "dist/client",
"entrypoints": {
"default": {
"entry": "splash.html",
"inline": true,
"height": "tall"
},
"game": {
"entry": "game.html",
"inline": false
}
}
},
"server": {
"dir": "dist/server",
"entry": "index.cjs"
},
"media": {
"dir": "dist/client/assets"
},
"menu": {
"items": [
{
"label": "Create Streax Champ Post",
"location": "subreddit",
"forUserType": "moderator",
"endpoint": "/internal/menu/create-post"
}
]
},
"dev": {
"subreddit": "streax_champ_dev"
}
}