From 1996c33656224eb930f4b8452b616395955ac274 Mon Sep 17 00:00:00 2001 From: Noah Gao Date: Tue, 6 Mar 2018 13:50:08 +0800 Subject: [PATCH] Upgrade to 0.9.3 & Fix root route problem --- .DS_Store | Bin 8196 -> 0 bytes libfreeiot/core/routes.py | 4 ++-- setup.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index e853f85dc23fbfa4d0771a563957b3b31ecacd42..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeI1!EVz)5Qb;l6r7Z*kpQ(vUywM2DplGPgpfko9x4Gs1i=ANYd3Cdk=P-28cGPt zg?A{t0dE3Nz=QAr@XxM^Y{xB}plWv`@2u_lJ>Ji|>yArAqTXvR6D<;vfsJi(7F9;! z^Sn)zsp!acSOGmzbF1a=+AZIn@YM%20Zl*?&;&FAP2g-0z&o3Zal(6Foz=A_pb1<^ z0=zz$*x1%0J5p9I9jIgq0Gq>MS`u!K!gBe$n3~SbT)J!+1*0%m zc-1)Y`;E{FdqLgmzTmybR(N1X?Wexq8n-R`nd|hoi`UkDFSK0G=}NKNbl~#xx$8Ck ze%Yb8VEtiKSbFj8nE}1Kp>TsAh7H%xx+uCU#y&JqA ze)uGjkcd_!npgYd`ZHP#OoBLUbiJ1E?c*5x&j8~t&Uk4=j52{J<{5+Z^?yTJ0HhT_ zy1jfVqhs_2Yei@~`^U2^bqK`cG=c!MPqi5*>ZP7Yy(j#i1UZRlRPCSessfSUd zHd(m7g-8xG0a|V9;Es5&Lr2M|a(#%eH*@p^vF_6bJ(MwR=wCzG{^LrOPbnu9^ab}C zk98%X*v1`tS&^hJKH!RSaK4c%C=b)NREFqlHY1+k@wj<-I-uDDk0mS$d$gaVBA9Ai zVI&lp6cf*G9{zlF2X}gi=N(`gb!9AGfcBEnxPJ*Xg6ncF2~4YAEpq<9dGh!FbJ=&@ zDNR5VPy|G7qp?v(`}be6X)v5?o7i@+abdravQmOdrsJ?O9fuwN!w_u~uB@p=cBCwh ap#1X>0XBm2M*{u+R|$xI|MM`saOD?C82s@7 diff --git a/libfreeiot/core/routes.py b/libfreeiot/core/routes.py index 62bb19d..8903996 100644 --- a/libfreeiot/core/routes.py +++ b/libfreeiot/core/routes.py @@ -23,8 +23,8 @@ def create_routes(app): app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024 jwt = JWTManager(app) - @app.route('/') - def catch_all(): + @app.route('/hello') + def say_hello(): ''' Index Route ''' diff --git a/setup.py b/setup.py index dd17017..ad34aa8 100644 --- a/setup.py +++ b/setup.py @@ -5,12 +5,12 @@ setup( name = "libfreeiot", - version = "0.9.2", + version = "0.9.3", description = 'A free, open-source IoT Framework', author = 'Noah Gao', author_email = 'noahgaocn@outlook.com', url = 'https://github.com/noahziheng/freeiot', - download_url = 'https://github.com/noahziheng/freeiot/archive/0.9.2.tar.gz', + download_url = 'https://github.com/noahziheng/freeiot/archive/0.9.3.tar.gz', packages = find_packages(), install_requires=[ # 依赖列表 'Flask>=0.12.2',