mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 11:29:16 +02:00
Fix swagger build by replacing faulty default URL
This commit is contained in:
parent
a9db905941
commit
f51e22d045
1 changed files with 1 additions and 1 deletions
|
@ -7,4 +7,4 @@ git clone --branch="v$SWAGGER_VERSION" --depth=1 "https://github.com/swagger-api
|
|||
mv /tmp/swagger-ui/dist $TARGET_PATH
|
||||
cp swagger.yml $TARGET_PATH
|
||||
cp -r api $TARGET_PATH/api
|
||||
sed -i "s,http://petstore.swagger.io/v2/swagger.json,swagger.yml,g" $TARGET_PATH/index.html
|
||||
sed -i "s,https://petstore.swagger.io/v2/swagger.json,swagger.yml,g" $TARGET_PATH/index.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue