Commit 7a221691 by Pragati Upadhyay

change test url

parent 506b1999
var getUserDetails = null var getUserDetails = null
!function () { !function () {
var origin = "https://begenieus.online" var origin = "https://test.begenieus.com"
var tutorShotId = null var tutorShotId = null
var imageNumber = 0; var imageNumber = 0;
var recording = false; var recording = false;
......
...@@ -6,7 +6,7 @@ var floatingBar = null; ...@@ -6,7 +6,7 @@ var floatingBar = null;
var startingOverlay = null; var startingOverlay = null;
var finalizingOverlay = null; var finalizingOverlay = null;
var overlayInterval = null; var overlayInterval = null;
const origin = "https://begenieus.online" const origin = "https://test.begenieus.com"
var userDetails = {}; var userDetails = {};
var btn = {}; var btn = {};
var tutorShotOid = null; var tutorShotOid = null;
...@@ -330,7 +330,7 @@ window.addEventListener('mousedown', async function (e) { ...@@ -330,7 +330,7 @@ window.addEventListener('mousedown', async function (e) {
width: document.body.clientWidth, width: document.body.clientWidth,
}, },
tagName: e.target.tagName, tagName: e.target.tagName,
text: e.target.innerText, text: e.target.innerText.substr(0,100),
url: location.href, url: location.href,
origin: location.origin, origin: location.origin,
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"manifest_version": 3, "manifest_version": 3,
"name": "Tutor Shot", "name": "Tutor Shot",
"version": "1.10", "version": "1.10",
"description": "Capture web-page screenshots instantly with a single click. They're saved to your account at https://begenieus.online .", "description": "Capture web-page screenshots instantly with a single click. They're saved to your account at https://test.begenieus.com .",
"permissions": [ "permissions": [
"activeTab", "activeTab",
"storage" "storage"
......
!function () { !function () {
const origin = "https://begenieus.online" const origin = "https://test.begenieus.com"
const api = axios.create({ const api = axios.create({
baseURL: `${origin}/api`, // the base URL for nodeserver is okay but NGINX is giving error baseURL: `${origin}/api`, // the base URL for nodeserver is okay but NGINX is giving error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment