-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_example.toml
36 lines (29 loc) · 961 Bytes
/
config_example.toml
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
# Change to `0.0.0.0` (binds to all network interfaces) if you really
# want to directly expose Einwurf without a reverse proxy and TLS
# encryption in front of it:
ip_address = "127.0.0.1"
port = 3000
# Possible values for `destination`:
# - `discord`
# - `mattermost`
# - `notion`
destination = "notion"
[discord]
webhook_url = "INSERT-WEBHOOK-URL"
[mattermost]
webhook_url = "INSERT-WEBHOOK-URL"
[notion]
# See https://developers.notion.com/docs/authorization on how to obtain
# your personal, secret integration token.
bearer_token = "INSERT-VALUE"
# Select the page you want Einwurf to append to, and copy the
# hexadecimal part from its URL.
# Example URL (`6fa0c7a47c9ba4d215e791c29f561d2c` is the part you need):
# https://www.notion.so/Destinationpage-6fa0c7a47c9ba4d215e791c29f561d2c
page_id = "INSERT-VALUE"
# Possible values for `block_type`:
# - `bulleted_list_item`
# - `numbered_list_item`
# - `paragraph`
# - `to_do`
block_type = "to_do"