-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.example.yaml
88 lines (77 loc) · 3 KB
/
config.example.yaml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Name of the host [optional]
host: tinshop.example.com
# Protocol (Can be http or https) [optional]
# If you use "https" then you should set up a reverse-proxy in front to handle tls
# And forward the port 443 to "yourIp:3000"
protocol: https
# Port [optional]
# This affect the url to download games & the web server will run on that port (default: 3000).
# port: 3000
# Shop name [optional]
# This is used as title when trying to visit the shop with a non switch device
name: TinShop
# Tells if we are using a reverse proxy if front of tinshop [optional]
# This is used to rewrite correct url to download games when reverse proxy used
reverseProxy: false
# Welcome message on Switch [optional]
# The default message will be "Welcome to your own TinShop!"
welcomeMessage: "Welcome to your own TinShop!"
# If you want to disable the welcome message, set it to true [optional]
noWelcomeMessage: false
# All debug flags will be stored here
debug:
# Display more information when connecting to nfs share
nfs: false
# Remove middleware security for retrieving index
# DO NOT use in production (only for dev purpose)
noSecurity: false
# Display more information about ticket's verification
ticket: false
# All actions related to NSP file will be stored here
nsp:
# Tells if tinshop should verify the ticket inside NSP to ensure no issue with install
checkVerified: true
# All sources where we should look for games
# If this section is commented out, then the directory "games" will be looked at
sources:
# Local mounted path [optional]
directories:
- /my/full/path/to/games
- ./games
# NFS Shares [optional]
nfs:
- host:sharePath/to/game/files
# All security information will be stored here
security:
# List of theme to be banned with security
# Be aware that this should be string (do not forget quotes)
# You can find the theme of a switch in the log upon access
bannedTheme:
- "0000000000000000000000000000000000000000000000000000000000000000"
# List of switch uid to whitelist
# If enabled then only switch in this area will be listed
# You can find the uid of a switch in the log upon access
whitelist:
- TESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTEST
# List of switch uid to blacklist
# Block access to all switch present in this list
# You can find the uid of a switch in the log upon access
blacklist:
- NOACCESSNOACCESSNOACCESSNOACCESSNOACCESSNOACCESSNOACCESSNOACCESS
# Endpoint to which a query will be sent to verify user/password/uid to
# Headers sent :
# - Authorization: same as sent by switch
# - Device-Id: Switch fingerprint
# Response with status code other than 200 will be treated as failure
forwardAuth: https://auth.tinshop.com/switch
# This section describe all custom title db to show up properly in tinfoil
customTitledb:
# Id of the entry
"060000BADDAD0000":
id: "050000BADDAD0000"
name: "Tinfoil"
region: "US"
releaseDate: 20180801
description: "Nintendo Switch Title Manager"
size: 14000000
iconUrl: ""