File tree Expand file tree Collapse file tree 5 files changed +6
-24
lines changed Expand file tree Collapse file tree 5 files changed +6
-24
lines changed Original file line number Diff line number Diff line change 1
1
// runtime installed
2
2
3
- function updating ( ) {
4
- fetch ( 'https://gitee.com/zpqsunny/jiaoyi/raw/master/README.md' , {
5
- method : 'GET'
6
- } ) . then ( v => {
7
- return v . text ( ) ;
8
- } ) . then ( data => {
9
- if ( data . trim ( ) === '' ) {
10
- return ;
11
- }
12
- chrome . storage . local . set ( { NEW_SERVICE_URL : data . trim ( ) } , ( ) => {
13
- console . log ( 'Data has been stored.' ) ;
14
- } ) ;
15
- } ) ;
16
- }
17
-
18
3
let tId = - 1 ;
19
4
20
5
// action onClicked
@@ -25,7 +10,6 @@ chrome.action.onClicked.addListener((tab) => {
25
10
console . log ( 'tab created' ) ;
26
11
tId = t . id ;
27
12
} ) ;
28
- updating ( ) ;
29
13
return ;
30
14
}
31
15
chrome . tabs . get ( tId ) . then ( t => {
Original file line number Diff line number Diff line change 1
1
{
2
2
"manifest_version" : 3 ,
3
3
"name" : " __MSG_appName__" ,
4
- "version" : " 0.1.1 " ,
4
+ "version" : " 0.1.2 " ,
5
5
"action" : {
6
6
"default_icon" : {
7
7
"16" : " images/torrent16.png" ,
26
26
],
27
27
"permissions" : [
28
28
" background" ,
29
- " activeTab" ,
30
- " storage"
29
+ " activeTab"
31
30
]
32
31
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " torrent-dorayaki" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.2 " ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"dev" : " vite" ,
Original file line number Diff line number Diff line change @@ -2,12 +2,9 @@ import axios from 'axios'
2
2
import { useCounterStore } from './stores/counter'
3
3
import { message } from "ant-design-vue" ;
4
4
const store = useCounterStore ( )
5
- axios . defaults . baseURL = 'http ://t.conn.ltd '
5
+ axios . defaults . baseURL = 'https ://ax.dorayaki.online '
6
6
// axios.defaults.baseURL = 'http://127.0.0.1:8000'
7
7
8
- chrome ?. storage ?. local ?. get ( [ 'NEW_SERVICE_URL' ] , value => {
9
- axios . defaults . baseURL = value [ 'NEW_SERVICE_URL' ]
10
- } )
11
8
12
9
axios . interceptors . request . use ( config => {
13
10
Original file line number Diff line number Diff line change 38
38
<div style =" text-align : center " >
39
39
<span >DHT Torrent ©2019 Created by zpq</span >
40
40
<div >
41
+ <img src =" https://img.shields.io/github/v/release/zpqsunny/torrent-dorayaki" alt =" release" >
42
+   ;
41
43
<img src =" https://img.shields.io/chrome-web-store/v/jekflgekjidcpibhnnpiimekgckgnkop" alt =" #" >
42
44
  ;
43
45
<img src =" https://img.shields.io/badge/dynamic/json?label=edge%20web%20store&prefix=v&query=%24.version&url=https%3A%2F%2Fmicrosoftedge.microsoft.com%2Faddons%2Fgetproductdetailsbycrxid%2Fgplhiomfemapanllhkkigblmhkbmjgfc" alt =" #" >
You can’t perform that action at this time.
0 commit comments