Play API prototype (#8)

* Play API prototype

* Web app

* Drag and drop support

* Handle different urls

* Fix redirect

* Increase max connections

* changelog

* Limit timeout

* Use fetch

* Redirects

* Formatting
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2022-11-21 18:47:12 -05:00
1 parent 192eec9519
commit 651bb54dee
15 files changed
+180 -39

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ import "pkg:/source/utils/TimeUtils.bs"
import "pkg:/source/utils/WebUtils.bs"
namespace Invidious
' TODO: query server status, check if it supports APIs and/or signups
const API_URL = "https://vid.puffyan.us"
const TOKEN_CALLBACK = "/invidious/token_callback"