🚧 change platform
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [ubuntu-16.04]
|
||||
platform: [ubuntu-18.04]
|
||||
go-version: [1.15]
|
||||
name: Build
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
release:
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [ ubuntu-16.04 ]
|
||||
platform: [ ubuntu-18.04 ]
|
||||
go-version: [ 1.15 ]
|
||||
name: Build
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
@@ -80,5 +80,6 @@ func Proxy(c *gin.Context) {
|
||||
c.Request.URL = url
|
||||
c.Request.Host = url.Host
|
||||
c.Request.Header.Del("Origin")
|
||||
c.Request.Header.Set("Referer", "https://www.aliyundrive.com/")
|
||||
proxy.ServeHTTP(c.Writer, c.Request)
|
||||
}
|
||||
|
Reference in New Issue
Block a user