Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define host permissions and allowed protocols in webpack config #339

Closed
raducristianpopa opened this issue Jun 14, 2024 · 0 comments · Fixed by #341
Closed

Define host permissions and allowed protocols in webpack config #339

raducristianpopa opened this issue Jun 14, 2024 · 0 comments · Fixed by #341
Assignees

Comments

@raducristianpopa
Copy link
Member

raducristianpopa commented Jun 14, 2024

Just for testing purposes at the moment, since I was testing this on a local website.

Thoughts on moving the host permissions here

import type { LogLevelDesc } from 'loglevel'
declare const CONFIG_LOG_LEVEL: LogLevelDesc
export const LOG_LEVEL = CONFIG_LOG_LEVEL

and define them in the webpack config based on the environment ala:

new DefinePlugin({
CONFIG_LOG_LEVEL: JSON.stringify('DEBUG')
})

Originally posted by @raducristianpopa in #333 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
1 participant