You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a personal support request that should be posted on the Roots Discourse community
Describe the issue
When I use external IP in dev mode from another device (phone for example) I get only page without any styles or scripts, because urls has my proxy domain (http://sq.test/wp/pathtothemestyles) not an external IP address. But that proxy domain is unaccessable from remote device via wifi.
You should proxy a network resolvable address for this use case; not something resolvable only from the host. You can use setPublicProxyUrl to ensure that internal links still resolve to the development server.
If we proxy all WordPress assets there are significant issues with the admin interface because of WordPress' handling of cookies and cross-origin resource loading.
Personally, I recommend using solutions like Android Studio and Simulator.
19 сент. 2023 г., в 10:31, Kelly Mears ***@***.***> написал(а):
You should proxy a network resolvable address for this use case; not something resolvable only from the host. You can use setPublicProxyUrl <https://bud.js.org/reference/bud.setPublicProxyUrl> to ensure that internal links still resolve to the development server.
Something like:
bud
.setProxyUrl('http://[host ipv4]')
.setPublicProxyUrl('http://sq.test')
If we proxy all WordPress assets there are significant issues with the admin interface because of WordPress' handling of cookies and cross-origin resource loading.
Personally, I recommend using solutions like Android Studio <https://developer.android.com/studio/run/emulator> and Simulator.
—
Reply to this email directly, view it on GitHub <#2449 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACASLMXPNL7BEAMESXHP4KTX3FC5XANCNFSM6AAAAAA4Z6YMZI>.
You are receiving this because you authored the thread.
Agreement
Describe the issue
When I use external IP in dev mode from another device (phone for example) I get only page without any styles or scripts, because urls has my proxy domain (http://sq.test/wp/pathtothemestyles) not an external IP address. But that proxy domain is unaccessable from remote device via wifi.
My config:
bud version 6.16.1
Expected Behavior
I expect my project loaded with styles and scripts on external device with external IP
Actual Behavior
I get page loaded without styles or scripts, because of the fact that url for styles is an proxy url, not external url
Steps To Reproduce
1.Install sage
2. Configure bud
3. run dev mode
version
6.16.1
Logs
No response
Configuration
No response
Relevant .budfiles
No response
The text was updated successfully, but these errors were encountered: