[PATCH] Move images to public folder
Export this patch
---
.build.yml | 4 ++--
.gitignore | 2 +-
src/App.vue | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.build.yml b/.build.yml
index c29a072..2d5ce9c 100644
--- a/.build.yml
+++ b/.build.yml
@@ -12,8 +12,8 @@ tasks:
yarn install
yarn lint
- get_assets: |
- cd 10man-web/src
- s3cmd get --recursive s3://10man/assets || complete-build
+ cd 10man-web/public
+ s3cmd get --recursive s3://10man/img || complete-build
- builds: |
cd 10man-web
yarn build
diff --git a/.gitignore b/.gitignore
index 21ac77c..fcd235c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
.DS_Store
node_modules
/dist
-/src/assets
+/public/img
# local env files
.env.local
diff --git a/src/App.vue b/src/App.vue
index 3b9228f..7abb067 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -35,7 +35,7 @@ export default class App extends Vue {}
inset: 0;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
- url("../src/assets/images/maps/de_inferno.jpg");
+ url("../public/img/maps/de_inferno.jpg");
background-repeat: no-repeat;
--
2.28.0.windows.1