Skip to content

Commit

Permalink
Fix updateURL (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
statm authored Apr 29, 2019
1 parent 0951011 commit 9fb4bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dev/AM2_Assist.dev.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// @contributor henryzhou
// @contributor jiak94
// @license MIT
// @updateURL http://localhost:8080/AM2_Assist.dev.user.js
// ==/UserScript==

$.ajax({ url: 'http://localhost:8080/AM2_Assist.user.js', crossDomain: true });
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const headers = {
contributor: ['henryzhou', 'jiak94'],
license: 'MIT',
match: ['http://www.airlines-manager.com/*', 'https://www.airlines-manager.com/*'],
updateURL: 'https://github.com/statm/am2-assist/raw/master/AM2_Assist.user.js'
updateURL: 'https://github.com/statm/am2-assist/releases/latest/download/AM2_Assist.user.js'
}

module.exports = {
Expand Down

0 comments on commit 9fb4bb6

Please sign in to comment.