Commit code with double quotes instead of single quotes
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
const EXTENSION_ID = 'amknoiejhlmhancpahfcfcfhllgkpbld'
|
||||
const EXTENSION_ID = "amknoiejhlmhancpahfcfcfhllgkpbld"
|
||||
|
||||
// Check if the Chrome Extension is present
|
||||
// The Chrome extension injects an empty span to help detection.
|
||||
// Also check for the presence of window.chrome object to confirm smooth operations
|
||||
export const hasChromeExtensionInstalled = () =>
|
||||
document.getElementById('chromePWExtensionDetect') !== null
|
||||
document.getElementById("chromePWExtensionDetect") !== null
|
||||
|
||||
const chromeWithoutProxy = (req, _store) =>
|
||||
new Promise((resolve, reject) => {
|
||||
chrome.runtime.sendMessage(
|
||||
EXTENSION_ID,
|
||||
{
|
||||
messageType: 'send-req',
|
||||
messageType: "send-req",
|
||||
data: {
|
||||
config: req,
|
||||
},
|
||||
@@ -31,11 +31,11 @@ const chromeWithProxy = (req, { state }) =>
|
||||
chrome.runtime.sendMessage(
|
||||
EXTENSION_ID,
|
||||
{
|
||||
messageType: 'send-req',
|
||||
messageType: "send-req",
|
||||
data: {
|
||||
config: {
|
||||
method: 'post',
|
||||
url: state.postwoman.settings.PROXY_URL || 'https://postwoman.apollotv.xyz/',
|
||||
method: "post",
|
||||
url: state.postwoman.settings.PROXY_URL || "https://postwoman.apollotv.xyz/",
|
||||
data: req,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user