replace hardcoded api.puter.com with puter.APIOrigin

This commit is contained in:
ProgrammerIn-wonderland committed 2025-01-17 17:05:51 -05:00
1 parent 5798fcd042
commit 01fc301f1e
1 file changed
+1 -1
+1 -1
View File
@@ -321,7 +321,7 @@ window.puter = (function() {
this.p_can_request_rao_.resolve();
})();
(async () => {
const wispToken = (await (await fetch('https://api.puter.com/wisp/relay-token/create', {
const wispToken = (await (await fetch(this.APIOrigin + '/wisp/relay-token/create', {
method: 'POST',
headers: {
Authorization: `Bearer ${this.authToken}`,