forked from bnjbvr/diary
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.coffee.example
30 lines (25 loc) · 1.04 KB
/
config.coffee.example
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
types = [
'https://tent.io/types/essay/v0', # This is an essay app
'https://tent.io/types/status/v0', # Post status to announce essay
'https://tent.io/types/repost/v0', # Reposts
'https://tent.io/types/tag/v0', # Tags (categories)
'https://tent.io/types/favorite/v0', # Favorites
'https://tent.io/types/subscription/v0', # Subscriptions
'https://diary.benj.me/types/metapost/v0', # Meta informations on the post
'https://diary.benj.me/types/comment/v0', # Comment
]
module.exports =
# Prod settings: in prod mode, auth requests are done.
# In dev mode (dev == !prod), auth are directly retrieved from files in app/ and user/
prod: true
# The port on which you would like to run the webserver
port: 1337
# The app description (see tent.io/docs)
app:
name: 'Diary'
url: 'http://diary.benj.me'
redirect_uri: 'http://diary.benj.me/cb'
types:
write: types
read: types
scopes: ['permissions']