Skip to content

Comments

Explicitly specify localhost as an allowed host, and add WSLIP IP in WSLEnvironments.#5134

Merged
bjester merged 1 commit intolearningequality:unstablefrom
rtibbles:hospitable
Jun 25, 2025
Merged

Explicitly specify localhost as an allowed host, and add WSLIP IP in WSLEnvironments.#5134
bjester merged 1 commit intolearningequality:unstablefrom
rtibbles:hospitable

Conversation

@rtibbles
Copy link
Member

Summary

  • Fixes issue where the default allowedHosts is too strict in webpack dev server
  • Adds explicit access via the WSL IP address

'Access-Control-Allow-Origin': '*',
},
allowedHosts: [
'localhost',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked at the source, and localhost is explicitly allowed, but I have no problem with being explicit here

@bjester bjester merged commit 13d5903 into learningequality:unstable Jun 25, 2025
13 checks passed
@bjester bjester mentioned this pull request Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants