Browse Source

editor port

master
panda 10 months ago
parent
commit
a424794aa0
  1. 2
      main.py

2
main.py

@ -11,7 +11,7 @@ app.include_router(typemanage.router)
app.include_router(blogmanage.router)
app.add_middleware(
CORSMiddleware,
allow_origins=['http://192.168.3.29'],
allow_origins=['http://111.229.38.129'],
allow_credentials=True,
allow_methods=['GET', 'POST','DELETE','PUT'],
allow_headers=['Authorization', 'Content-Type'],

Loading…
Cancel
Save