Akryum / Akryum/meteor-vite

not work on server

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
33
Forks
22
PR merge metrics
No merged PRs in 30d

Description

My demo worked fine my macOS, but got follow error when run ubuntu server:

`Access to script at 'http://localhost:5173/imports/startup/client/index.ts' from origin 'http://x.x.x.x:6009' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `local`.`

The example run server (not build) also got follow error, it work fine with build:

`Access to script at 'http://localhost:5173/imports/ui/main.ts' from origin 'http://x.x.x.x:6009' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `local`.`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.