#!/usr/bin/env python # # Copyright 2014 Jun Woo Park. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # import handlers import webapp2 app = webapp2.WSGIApplication([ ('/1.html', handlers.Handler1), ('/2.html', handlers.Handler2), ('/3.html', handlers.Handler3), ('/4.html', handlers.Handler4), ('/5-1.html', handlers.Handler5_1), ('/5-2.html', handlers.Handler5_2), ('/5-3.html', handlers.Handler5_3), ('/5-4.html', handlers.Handler5_4), ('/6.html', handlers.Handler6), ('/summer_normal.html', handlers.HandlerSummerNormal), ('/10.html', handlers.Handler10), ('/summer_w_outage.html', handlers.HandlerSummerOutage), ('/15.html', handlers.Handler15), ('/16.html', handlers.Handler16), ('/17.html', handlers.Handler17), ('/winter_normal.html', handlers.HandlerWinterNormal), ('/21.html', handlers.Handler21), ('/winter_w_outage.html', handlers.HandlerWinterOutage), ('/25.html', handlers.Handler25), ('/26.html', handlers.Handler26), ('/27.html', handlers.Handler27), ('/28.html', handlers.Handler28), ('/finish.html', handlers.HandlerFinish), # ('/11.html', handlers.HandlerSummerWOutage), # ('/18.html', handlers.HandlerWinterNormal), # ('/22.html', handlers.HandlerWinterWOutage), webapp2.Route('/', webapp2.RedirectHandler, defaults={"_uri": "/1.html"}), ], debug=True)