Skip to content

Commit

Permalink
Allow access from any sources
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAssassin authored Jan 20, 2020
1 parent 3ff02bf commit 01db112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def __init__(self, *args, **kwargs):

def add_default_headers(self):
self.add_header("Content-Type", "text/plain")
self.add_header("Access-Control-Allow-Origin", "newpipe.schabi.org")
self.add_header("Access-Control-Allow-Origin", "*")

@classmethod
def is_request_outdated(cls):
Expand Down

0 comments on commit 01db112

Please sign in to comment.