File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 99]
1010DYNAMODB_TABLE = "infra-core-api-linkry"
1111FALLBACK_URL = os .environ .get ("FALLBACK_URL" , "https://acm.illinois.edu/404" )
12- LINKRY_HOME_URL = os .environ .get (
13- "LINKRY_HOME_URL" , "https://core.acm.illinois.edu/linkry"
14- )
12+ DEFAULT_URL = os .environ .get ("DEFAULT_URL" , "https://www.acm.illinois.edu" )
1513CACHE_TTL = "30" # seconds to hold response in PoP
1614
1715
@@ -51,7 +49,7 @@ def handler(event, context):
5149 "status" : "301" ,
5250 "statusDescription" : "Moved Permanently" ,
5351 "headers" : {
54- "location" : [{"key" : "Location" , "value" : LINKRY_HOME_URL }],
52+ "location" : [{"key" : "Location" , "value" : DEFAULT_URL }],
5553 "cache-control" : [
5654 {"key" : "Cache-Control" , "value" : f"public, max-age={ CACHE_TTL } " }
5755 ],
You can’t perform that action at this time.
0 commit comments