diff --git a/.env b/.env deleted file mode 100644 index a57c210..0000000 --- a/.env +++ /dev/null @@ -1 +0,0 @@ -BASE_URL='yolo8.pages.dev' \ No newline at end of file diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..7f43c39 --- /dev/null +++ b/.env.development @@ -0,0 +1,2 @@ +BASE_URL='/' +VUE_APP_PUBLIC_PATH='/' \ No newline at end of file diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..e129c3d --- /dev/null +++ b/.env.production @@ -0,0 +1,2 @@ +BASE_URL='/' +VUE_APP_PUBLIC_PATH='//fastly.jsdelivr.net/gh/webees/tfjs-yolov8@cf-pages/' \ No newline at end of file diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 4f78690..0caa014 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -32,5 +32,5 @@ jobs: - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 with: - BRANCH: gh-pages + BRANCH: cf-pages FOLDER: dist \ No newline at end of file diff --git a/public/index.html b/public/index.html index 4325f9e..0e9cc61 100644 --- a/public/index.html +++ b/public/index.html @@ -12,8 +12,11 @@ + + +