From f1561a491b116ab90af16592f2dbc95982b10b39 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 5 May 2020 23:34:58 +0200 Subject: [PATCH] Fix changing api url when releasing --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 35cbf82cd..ee3840c53 100644 --- a/.drone.yml +++ b/.drone.yml @@ -39,7 +39,7 @@ steps: - yarn --frozen-lockfile - yarn run lint - yarn run build - - sed -i 's/http\:\/\/localhost\:3456\/api\/v1/\/api\/v1/g' dist/index.html # Override the default api url used for developing + - sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing - name: static image: kolaente/zip @@ -113,7 +113,7 @@ steps: - yarn --frozen-lockfile - yarn run lint - yarn run build - - sed -i 's/http\:\/\/localhost\:3456\/api\/v1/\/api\/v1/g' dist/index.html # Override the default api url used for developing + - sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing - name: static image: kolaente/zip