From 2425cab0439644784becb6d6ab2bff3ca2e838c4 Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Mon, 19 Feb 2024 17:55:49 +0000 Subject: [PATCH] fix(extension): final stuff to get this working --- extension/src/background.js | 1 + extension/src/config.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/extension/src/background.js b/extension/src/background.js index 6ef03c6..cc98aa2 100644 --- a/extension/src/background.js +++ b/extension/src/background.js @@ -48,6 +48,7 @@ function interceptSubmit(details) { }); fetch('https://aci-api.ashhhleyyy.dev/api/codes?' + query, { + method: 'POST', headers: { 'content-type': 'application/json', }, diff --git a/extension/src/config.js b/extension/src/config.js index ca7ffa8..54469e2 100644 --- a/extension/src/config.js +++ b/extension/src/config.js @@ -1,2 +1,2 @@ -//this.SERVER_URL = 'https://aci-api.ashhhleyyy.dev'; -this.SERVER_URL = 'http://localhost:8000'; +this.SERVER_URL = 'https://aci-api.ashhhleyyy.dev'; +//this.SERVER_URL = 'http://localhost:8000';