Skip to content

Commit

Permalink
delete flask cors
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxfzxxx committed Nov 4, 2022
1 parent 812eb1e commit d7b46e0
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 111 deletions.
34 changes: 17 additions & 17 deletions node_modules/.bin/loose-envify.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions node_modules/@types/prop-types/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions node_modules/@types/react-transition-group/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions node_modules/@types/react/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions node_modules/@types/scheduler/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 18 additions & 18 deletions node_modules/@types/warning/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions node_modules/@types/warning/index.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions src/backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@
from collections import namedtuple
from werkzeug.datastructures import MultiDict
from flask import Flask, request
from flask_cors import CORS
from pages.login import Login
from pages.mainpage import MainPage


# from logging import FileHandler, WARNING

app = Flask(__name__)
CORS(app)


@app.route("/login", methods=["POST", "GET"])
Expand Down

3 comments on commit d7b46e0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCover
app.py820100%
dataholders
   apt.py90100%
   review.py70100%
pages
   login.py310100%
   mainpage.py860100%
TOTAL2150100%

Tests Skipped Failures Errors Time
44 0 💤 0 ❌ 0 🔥 0.724s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCover
app.py820100%
dataholders
   apt.py90100%
   review.py70100%
pages
   login.py310100%
   mainpage.py860100%
TOTAL2150100%

Tests Skipped Failures Errors Time
44 0 💤 0 ❌ 0 🔥 0.825s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCover
app.py820100%
dataholders
   apt.py90100%
   review.py70100%
pages
   login.py310100%
   mainpage.py860100%
TOTAL2150100%

Tests Skipped Failures Errors Time
44 0 💤 0 ❌ 0 🔥 0.826s ⏱️

Please sign in to comment.