diff --git a/Notes b/Notes
new file mode 100644
index 0000000..11b8b8c
--- /dev/null
+++ b/Notes
@@ -0,0 +1,26 @@
+Setting up a CORS proxy in a Vue.js application is typically done during development to bypass Cross-Origin Resource Sharing (CORS) restrictions. This is achieved using the devServer.proxy option in your vue.config.js file.
+Steps to set up a CORS proxy in Vue.js:
+Create vue.config.js: If you don't already have one, create a vue.config.js file in the root of your Vue project (at the same level as package.json).
+Configure the proxy: Add the devServer.proxy configuration within module.exports in vue.config.js.
+JavaScript
+
+ // vue.config.js
+ module.exports = {
+ devServer: {
+ proxy: {
+ // Proxy all requests starting with '/api' to your backend server
+ '^/api': {
+ target: 'http://localhost:3000', // Replace with your backend server URL
+ changeOrigin: true, // Needed for virtual hosted sites
+ // pathRewrite: { '^/api': '' } // Optional: Remove '/api' prefix from the request path sent to the backend
+ },
+ // You can add more proxy rules for different paths if needed
+ // '^/another-path': {
+ // target: 'http://another-backend.com',
+ // changeOrigin: true,
+ // },
+ },
+ // For simpler cases where you want to proxy all unknown requests to a single backend
+ // proxy: 'http://localhost:4000',
+ },
+ };
\ No newline at end of file
diff --git a/caddy-admin.json b/caddy-admin.json
new file mode 100644
index 0000000..571b27c
--- /dev/null
+++ b/caddy-admin.json
@@ -0,0 +1,12 @@
+{
+ "admin": {
+ "listen": "localhost:2019",
+ "enforce_origin": true,
+ "origins": [
+ "*",
+ "http://localhost:2019",
+ "http://localhost:5173",
+ "http://*:*"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/caddy-admin.sh b/caddy-admin.sh
new file mode 100644
index 0000000..287a2a3
--- /dev/null
+++ b/caddy-admin.sh
@@ -0,0 +1,12 @@
+{
+ admin: 2019 {
+ enforce_origin: "false"
+ }
+}
+
+Can run the following command to turn it off:
+
+
+curl -X PATCH http://localhost:2019/config/admin/enforce_origin -H "Content-Type: application/json" -d 'false'
+
+
diff --git a/src/App.vue b/src/App.vue
index 8c52d24..00f3e25 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,5 +1,17 @@
-
+
-
\ No newline at end of file
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index 43d1f29..353590b 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -1,5 +1,72 @@
-
+
+
+
+
+
{{ myData }}
+
+
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/views/HomeView.vue.bak b/src/views/HomeView.vue.bak
new file mode 100644
index 0000000..83b29d7
--- /dev/null
+++ b/src/views/HomeView.vue.bak
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file