Move userscript to server
This commit is contained in:
@@ -7,7 +7,7 @@ module.exports = {
|
||||
author: pkg.author,
|
||||
copyright: 'Copyright CP Solutions GmbH',
|
||||
source: pkg.repository.url,
|
||||
downloadURL: `${pkg.repository.url}/raw/branch/master/3CX_TAPI.user.js`,
|
||||
downloadURL: 'https://3cxtapi.cp-austria.at/3CX_TAPI.user.js',
|
||||
match: [
|
||||
'https://192.168.0.154:5001/*',
|
||||
'https://cpsolution.my3cx.at:5001/*'
|
||||
|
||||
+2
-6
@@ -38,15 +38,11 @@ just install a package and import it in your js file. webpack will pack them wit
|
||||
npm run build
|
||||
```
|
||||
|
||||
`dist/index.prod.user.js` is the final script.
|
||||
`dist/3CX TAPI.prod.user.js` is the final script.
|
||||
|
||||
## distribution
|
||||
|
||||
```
|
||||
cp "dist/3CX TAPI.prod.user.js" ../3CX_TAPI.user.js
|
||||
```
|
||||
|
||||
And commit 3CX_TAPI.user.js
|
||||
Userscript is included in server docker image
|
||||
|
||||
## see also
|
||||
|
||||
|
||||
Reference in New Issue
Block a user