Skip to content

Help With mirror Install on RHEL 9. #78

@mackeyja

Description

@mackeyja

Hello I am installing a browser mirror on a RHEL 9 server.
The yarn dev commands works and returns:
VITE v5.4.14 ready in 449 ms

➜ Local: http://localhost:5173/browser/
➜ Network: use --host to expose
➜ press h + enter to show help

I'm trying to Proxy through Apache and get the following error:
Blocked request. This host ("$hostname") is not allowed.
To allow this host, add "$hostname" to server.allowedHosts in vite.config.js.

vite.config.js does not exist but vite.config.ts does.
What is the proper method/syntax to allow us to use the server hostname?

Regards,
Joseph Mackey III

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions