-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
51 lines (44 loc) · 1.55 KB
/
netlify.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[build]
publish = "dist"
command = "yarn run export"
[[redirects]]
from = "/admin/*"
status = 200
force = true
conditions = {Role = ["admin","editor"]}
[[redirects]]
from = "/admin/*"
to = "/login"
force = true
status = 401
# @see https://docs.netlify.com/routing/redirects/#syntax-for-the-netlify-configuration-file
[[redirects]]
from = "/tech/avatar"
# Avatar Generator
to = "https://guild-avatar.surge.sh"
status = 302
force = true # COMMENT: ensure that we always redirect
[[redirects]]
from = "/tech/meeting-rsvp"
# General Meeting RSVP - Google Forms
to = "https://docs.google.com/forms/d/e/1FAIpQLSf5Z7oKq_bIAD9Cqhaqc0cq6E1cR7D_V7FLb97REHEGFozBVg/viewform"
status = 302
force = true # COMMENT: ensure that we always redirect
[[redirects]]
from = "/tech/join-slack"
# Pinkertimes Slack Join Request - Google Forms
to = "https://docs.google.com/forms/d/e/1FAIpQLSdw4KE9MPjRCKFp3GjPwbmkVnSJ6g6bYNfMV9ITGizpDfc0kg/viewform"
status = 302
force = true # COMMENT: ensure that we always redirect
[[redirects]]
from = "/tech/selfie-mosaic"
# Selfie Mosaic Submission - Google Forms
to = "https://docs.google.com/forms/d/e/1FAIpQLSfH8q1R8JxpLFSUahecpNUdD6Mx5YBMfqsxWXLYXl_IbnYK8Q/viewform"
status = 302
force = true # COMMENT: ensure that we always redirect
[[redirects]]
from = "/tech/union-pride"
# Show your union pride - Google Slides
to = "https://docs.google.com/presentation/d/1FZYQ8xBXQLM8n973jVnCsYJ_wz-DT6YSyf_Dgi5E_8s/edit?usp=sharing"
status = 302
force = true # COMMENT: ensure that we always redirect