We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76af9d1 commit 98da381Copy full SHA for 98da381
1 file changed
src/node-loader.js
@@ -637,7 +637,7 @@ function nodeLoader() {
637
638
async function _resolveSrcNodePath() {
639
// Check if running from localhost dev server
640
- if (window.location.hostname === 'localhost') {
+ if (window.location.href.startsWith('http://localhost:')) {
641
// Fetch phoenix path from dev server API to use local src-node
642
const response = await fetch('/api/getPhoenixPath');
643
const pathInfo = await response.json();
0 commit comments