Skip to content

Commit 5c390b0

Browse files
authored
fix: wrong path for vite fs to allow imports (#6)
1 parent 52c1f5c commit 5c390b0

File tree

5 files changed

+1
-6
lines changed

5 files changed

+1
-6
lines changed

sdk-integration-examples/web-sdk/react/face-scan/vite.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export default defineConfig({
77
plugins: [react(), basicSsl()],
88
server: {
99
fs: {
10-
// Allow serving files from one level up to the project root
1110
allow: ["../../.."],
1211
},
1312
},

sdk-integration-examples/web-sdk/react/flow-example/vite.config.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ export default defineConfig({
77
plugins: [react(), basicSsl()],
88
server: {
99
fs: {
10-
// Allow serving files from one level up to the project root
11-
allow: ["..", "../../engine-5"],
10+
allow: ["../../.."],
1211
},
1312
},
1413
});

sdk-integration-examples/web-sdk/react/id-scan/vite.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export default defineConfig({
77
plugins: [react(), basicSsl()],
88
server: {
99
fs: {
10-
// Allow serving files from one level up to the project root
1110
allow: ["../../.."],
1211
},
1312
},

sdk-integration-examples/web-sdk/vue/face-scan/vite.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export default defineConfig({
1717
],
1818
server: {
1919
fs: {
20-
// Allow serving files from one level up to the project root
2120
allow: ["../../.."],
2221
},
2322
},

sdk-integration-examples/web-sdk/vue/id-scan/vite.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export default defineConfig({
1717
],
1818
server: {
1919
fs: {
20-
// Allow serving files from one level up to the project root
2120
allow: ["../../.."],
2221
},
2322
},

0 commit comments

Comments
 (0)