Skip to content

Commit

Permalink
Merge pull request Inrixia#18 from Prouser123/misc-changes
Browse files Browse the repository at this point in the history
Misc. Changes
  • Loading branch information
Inrixia authored Nov 18, 2018
2 parents fc6fa11 + 38b89b0 commit 7771cf8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# General (Windows)
Thumbs.db
desktop.ini
.vscode/

# General (MacOS)
.DS_Store
._*

# VSCode Directory
.vscode/

# Dependency directories
node_modules/

# Log
float.log

# User / Script generated settings
videos.json
partial.json
2 changes: 1 addition & 1 deletion float.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ function parseKey() { // Get the key used to download videos
checkAuth().then(constructCookie).then(parseKey).then(resolve)
} else {
if (settings.autoFetchServer) {
settings.floatplaneServer = body.slice(1, body.lastIndexOf('floatplaneclub.com')+18).replace('Edge01', 'Edge02');
settings.floatplaneServer = body.slice(1, body.lastIndexOf('floatplane.com')+18).replace('Edge01', 'Edge02');
}
settings.key = body.replace(/.*wmsAuthSign=*/, '') // Strip everything except for the key from the generated url
fLog("Init-Key > Key Fetched")
Expand Down

0 comments on commit 7771cf8

Please sign in to comment.