Mercurial > hg > index.fcgi > www > www-1
comparison myw2/myw_flask_app.py @ 146:bd31bc82164a
myw2: Remove mobile page
author | paulo |
---|---|
date | Fri, 06 Jun 2025 07:19:39 +0000 |
parents | 93ad5ecd149d |
children |
comparison
equal
deleted
inserted
replaced
4:53f5d827a462 | 5:fa2e3b7ed48d |
---|---|
9 app = flask.Flask(__name__) | 9 app = flask.Flask(__name__) |
10 | 10 |
11 | 11 |
12 REDIRECTS = collections.OrderedDict({ | 12 REDIRECTS = collections.OrderedDict({ |
13 "desktop": "http://forecast.weather.gov/MapClick.php?lat=37.63048605200049&lon=-122.41107706299971", | 13 "desktop": "http://forecast.weather.gov/MapClick.php?lat=37.63048605200049&lon=-122.41107706299971", |
14 "mobile": "http://mobile.weather.gov/index.php?lat=37.61961&lon=-122.36558", | |
15 "radar": "https://radar.weather.gov/ridge/standard/KMUX_loop.gif", | 14 "radar": "https://radar.weather.gov/ridge/standard/KMUX_loop.gif", |
16 "hourly": "https://forecast.weather.gov/MapClick.php?w0=t&w1=td&w2=wc&w3=sfcwind&w4=sky&w5=pop&w6=rh&w7=rain&w8=thunder&w12=fog&AheadHour=0&Submit=Submit&&FcstType=graphical&textField1=37.6305&textField2=-122.4111&site=all", | 15 "hourly": "https://forecast.weather.gov/MapClick.php?w0=t&w1=td&w2=wc&w3=sfcwind&w4=sky&w5=pop&w6=rh&w7=rain&w8=thunder&w12=fog&AheadHour=0&Submit=Submit&&FcstType=graphical&textField1=37.6305&textField2=-122.4111&site=all", |
17 "goes": "https://www.star.nesdis.noaa.gov/GOES/sector.php?sat=G17§or=psw", | 16 "goes": "https://www.star.nesdis.noaa.gov/GOES/sector.php?sat=G17§or=psw", |
18 }) | 17 }) |
19 | 18 |