|
@@ -192,31 +192,41 @@ async def coffee_get():
|
|
|
|
|
|
@app.get("/220")
|
|
|
async def redirect220():
|
|
|
- response = RedirectResponse(url='/a1/index-line.html')
|
|
|
+# response = RedirectResponse(url='/a1/index-line.html')
|
|
|
+ response = RedirectResponse(url='https://line.me/R/ti/p/@064mjcjv')
|
|
|
+
|
|
|
response.set_cookie(key="area", value="220", domain="q.ptt.cx")
|
|
|
return response
|
|
|
|
|
|
@app.get("/242")
|
|
|
async def redirect242():
|
|
|
- response = RedirectResponse(url='/a1/index-line.html')
|
|
|
+# response = RedirectResponse(url='/a1/index-line.html')
|
|
|
+ response = RedirectResponse(url='https://line.me/R/ti/p/@064mjcjv')
|
|
|
+
|
|
|
response.set_cookie(key="area", value="242", domain="q.ptt.cx")
|
|
|
return response
|
|
|
|
|
|
@app.get("/241")
|
|
|
async def redirect241():
|
|
|
- response = RedirectResponse(url='/a1/index-line.html')
|
|
|
+# response = RedirectResponse(url='/a1/index-line.html')
|
|
|
+ response = RedirectResponse(url='https://line.me/R/ti/p/@064mjcjv')
|
|
|
+
|
|
|
response.set_cookie(key="area", value="241", domain="q.ptt.cx")
|
|
|
return response
|
|
|
|
|
|
@app.get("/112")
|
|
|
async def redirect112():
|
|
|
- response = RedirectResponse(url='/a1/index-line.html')
|
|
|
+# response = RedirectResponse(url='/a1/index-line.html')
|
|
|
+ response = RedirectResponse(url='https://line.me/R/ti/p/@064mjcjv')
|
|
|
+
|
|
|
response.set_cookie(key="area", value="112", domain="q.ptt.cx")
|
|
|
return response
|
|
|
|
|
|
@app.get("/111")
|
|
|
async def redirect111():
|
|
|
- response = RedirectResponse(url='/a1/index-line.html')
|
|
|
+# response = RedirectResponse(url='/a1/index-line.html')
|
|
|
+ response = RedirectResponse(url='https://line.me/R/ti/p/@064mjcjv')
|
|
|
+
|
|
|
response.set_cookie(key="area", value="111", domain="q.ptt.cx")
|
|
|
return response
|
|
|
|