webcodelab commited on
Commit
26004d7
·
verified ·
1 Parent(s): 499e63c

Update app/__init__.py

Browse files
Files changed (1) hide show
  1. app/__init__.py +3 -2
app/__init__.py CHANGED
@@ -9,8 +9,9 @@ def create_app():
9
  app.config['SECRET_KEY'] = 'your-secret-key'
10
 
11
  from .routes import auth
 
 
12
  app.register_blueprint(auth)
 
13
 
14
  return app
15
-
16
-
 
9
  app.config['SECRET_KEY'] = 'your-secret-key'
10
 
11
  from .routes import auth
12
+ from .routes import api
13
+
14
  app.register_blueprint(auth)
15
+ app.register_blueprint(api, url_prefix='/api')
16
 
17
  return app