mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 08:06:52 +02:00
Allow Gogs server on a subdirectory
This commit is contained in:
parent
c60b7eddee
commit
007a3462ca
@ -12,7 +12,7 @@ REMOTE_CONFIG=https://gogs.hooli.com?open=false
|
||||
The following is the standard URI connection scheme:
|
||||
|
||||
```
|
||||
scheme://host[:port][?options]
|
||||
scheme://host[:port][/path][?options]
|
||||
```
|
||||
|
||||
The components of this string are:
|
||||
@ -20,6 +20,7 @@ The components of this string are:
|
||||
* `scheme` server protocol `http` or `https`.
|
||||
* `host` server address to connect to. The default value is github.com if not specified.
|
||||
* `:port` optional. The default value is :80 if not specified.
|
||||
* `/path` optional. The default value is the root directory if not specified.
|
||||
* `?options` connection specific options.
|
||||
|
||||
## Gogs options
|
||||
|
@ -30,7 +30,6 @@ func Load(env envconfig.Env) *Gogs {
|
||||
log.Fatalln("unable to parse remote dsn. %s", err)
|
||||
}
|
||||
params := url_.Query()
|
||||
url_.Path = ""
|
||||
url_.RawQuery = ""
|
||||
|
||||
// create the Githbub remote using parameters from
|
||||
|
Loading…
Reference in New Issue
Block a user