summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LINKS4
-rw-r--r--Makefile1
2 files changed, 3 insertions, 2 deletions
diff --git a/LINKS b/LINKS
index 447305a..658e0f2 100644
--- a/LINKS
+++ b/LINKS
@@ -1,2 +1,2 @@
-/chsmun/team "https://teams.microsoft.com/l/team/19%3a1b5645fac43d47b897295ea5af084c4a%40thread.tacv2/conversations?groupId=03cea0f7-0a2a-430b-928a-f20c279e4c87&tenantId=0cdcb198-8169-4b70-ba9f-da7e3ba700c2"
-/chsmun/gsmapp "https://forms.office.com/Pages/ResponsePage.aspx?id=mLHcDGmBcEu6n9p-O6cAwiny3XpFWJVGj8kCaVNmJw9UMjJNVFlBVjJCTkRZUEs4QzVRQ0dVNUNONi4u"
+team https://teams.microsoft.com/l/team/19%3a1b5645fac43d47b897295ea5af084c4a%40thread.tacv2/conversations?groupId=03cea0f7-0a2a-430b-928a-f20c279e4c87&tenantId=0cdcb198-8169-4b70-ba9f-da7e3ba700c2
+gsmapp https://forms.office.com/Pages/ResponsePage.aspx?id=mLHcDGmBcEu6n9p-O6cAwiny3XpFWJVGj8kCaVNmJw9UMjJNVFlBVjJCTkRZUEs4QzVRQ0dVNUNONi4u
diff --git a/Makefile b/Makefile
index cf05c55..176f660 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,4 @@ SRC=src
install:
cp -R $(SRC) $(WEBROOT)
+ awk '{gsub(/"/,"",$2);print "location = /chsmun/"$1" { return 301 \""g$2"\"; }"}' LINKS > /etc/nginx/chsmun.redir