Skip to content

Commit

Permalink
chore: update axios
Browse files Browse the repository at this point in the history
  • Loading branch information
sircharlo committed Oct 10, 2023
1 parent fe93a48 commit ffc976d
Show file tree
Hide file tree
Showing 4 changed files with 409 additions and 30 deletions.
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"cSpell.words": [
"ABCDEFGHIJKLOMNOPQRSTUVWXYZ",
"confno",
"deeporange",
"firstfile",
"fontawesome",
"fortawesome",
"inputmask",
"NSIS",
"popperjs",
"sircharlo"
"prefs",
"sircharlo",
"timeframe",
"zoommtg"
]
}
6 changes: 3 additions & 3 deletions launcher.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const axios = require("axios"),
const axios = require('axios').default,
net = require("net"),
remote = require("@electron/remote"),
fs = require("graceful-fs"),
Expand All @@ -8,13 +8,13 @@ const axios = require("axios"),
{shell} = require("electron"),
$ = require("jquery");
const appPath = remote.app.getPath("userData"),
// green pink blue deeporange purple yellow cyen brown
// green pink blue deeporange purple yellow cyan brown
colors = ["#00e676", "#ff80ab", "#64b5f6", "#ffb74d", "#ea80fc", "#ffff8d", "#18ffff", "#bcaaa4"],
prefsFile = path.join(appPath, "prefs.json");
var scheduledActionInfo = {},
broadcastStrings = {},
prefs = {};
axios.defaults.adapter = require("axios/lib/adapters/http");
axios.defaults.adapter = "http";
function checkInternet(online) {
if (online) {
$("#overlayInternetCheck").fadeIn("fast", () => {
Expand Down
Loading

0 comments on commit ffc976d

Please sign in to comment.