Skip to content

Commit 458de11

Browse files
committed
feat : add CORS support to allow requests from any origin
1 parent 6bf6a9b commit 458de11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
load_dotenv()
1616

1717
app = Flask(__name__)
18-
CORS(app, resources={r"/*": {"origins": ["https://telex.im", "https://staging.telex.im", "http://telextest.im", "http://staging.telextest.im"]}})
18+
CORS(app, resources={r"/*": {"origins": "*"}})
1919

2020
# Telex API Configuration
2121
TELEX_API_URL = "https://ping.telex.im/v1/webhooks/{channel_id}"

0 commit comments

Comments
 (0)