Skip to content

Commit 25651af

Browse files
committed
update configuratoni section in readme
1 parent 6237851 commit 25651af

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,19 @@ max_idle_conns = 8
167167

168168
# Mysql connection pool max open connection
169169
max_open_conns = 8
170+
171+
[common]
172+
# short urls that will be filtered to use
173+
black_short_urls = ["version","health","short","expand","css","js","fuck","stupid"]
174+
175+
# Base string used to generate short url
176+
base_string = "Ds3K9ZNvWmHcakr1oPnxh4qpMEzAye8wX5IdJ2LFujUgtC07lOTb6GYBQViSfR"
177+
178+
# Short url service domain name. This is used to filter short url loop.
179+
domain_name = "short.me:3030"
180+
181+
# Short url service schema: http or https.
182+
schema = "http"
170183
```
171184
#### Capacity
172185
----

0 commit comments

Comments
 (0)