I found out, that I need to set the public
property of devServer, to my request’s host value. Being that it will be displayed at that external address.
So I needed this in my webpack.config.js
devServer: { compress: true, public: 'store-client-nestroia1.c9users.io' // That solved it }
Another solution is using it on the CLI:
webpack-dev-server --public $C9_HOSTNAME <-- var for Cloud9 external IP
Related Posts:
- Babel 7 – ReferenceError: regeneratorRuntime is not defined
- webpack: Module not found: Error: Can’t resolve (with relative path)
- Getting Unexpected Token Export
- Module not found can’t resolve
- How to import image (.svg, .png ) in a React Component
- React Uncaught Error: Target container is not a DOM element [duplicate]
- How to determine the installed webpack version
- Jest TypeError: Path must be a string. Received undefined
- Uncaught TypeError: Cannot read property ‘call’ of undefined at __webpack_require__
- how to use react require syntax?
- How can I use webpack with express?
- What are differences between SystemJS and Webpack?
- where is create-react-app webpack config and files?
- “You may need an appropriate loader to handle this file type” with Webpack and Babel
- Can I use complex HTML with Twitter Bootstrap’s Tooltip?
- How do I redirect to another webpage?
- Invariant Violation: Objects are not valid as a React child
- How to get all place details from a Place Details Request using Google Places API Web Service?
- Disabling and enabling a html input button
- How do I test for an empty JavaScript object?
- TypeScript React.FC
confusion - Check if checkbox is checked with jQuery
- TypeError: Cannot read property ‘then’ of undefined
- Infinite Scrolling in Asp.Net MVC with jQuery / AJAX Issues
- What are the difference between $(document).bind(‘ready’, function) and $(document).ready(function() {})
- Getting “TypeError: failed to fetch” when the request hasn’t actually failed
- How can I print using JQuery
- Short circuit Array.forEach like calling break
- TypeError: Router.use() requires middleware function but got a Object
- Failed to compile. Module not found: Can’t resolve ‘react-router-dom’
- How to send an email from JavaScript
- MissingSchemaError: Schema hasn’t been registered for model “User”
- classical inheritance vs prototypal inheritance in javascript
- Uncaught TypeError: Cannot read property ‘value’ of null
- How to subtract date/time in JavaScript?
- var.replace is not a function
- Async/await in componentDidMount to load in correct order
- Dynamically load JS inside JS
- Tainted canvases may not be exported
- Error: Cannot find module html
- How to open a URL in a new Tab using JavaScript or jQuery?
- How to sort an object array by date property?
- React router not showing browser history
- How to define DO NOTHING in JavaScript
- How to get the difference between two arrays in JavaScript?
- What happened to Lodash _.pluck?
- Simplest/cleanest way to implement a singleton in JavaScript
- Extract hostname name from string
- How to connect signalR from angularJs
- JavaScript button onclick not working
- What counts as CPU Intensive tasks (eg. sorting, searching etc?)
- HTML make text clickable without making it a hyperlink
- Uncaught ReferenceError: React is not defined
- How to get the browser viewport dimensions?
- Getting HTML form values
- How to run a function when the page is loaded?
- RegEx: How can I match all numbers greater than 49?
- Object doesn’t support property or method ‘addEventListener’
- How to fix javascript .toFixed is not a Function error
- jQuery checkbox checked state changed event
- Javascript, viewing [object HTMLInputElement]
- Why onbeforeunload event is not firing
- etect the Enter key in a text input field
- Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse (
) - What’s the equivalent of Java’s Thread.sleep() in JavaScript?
- Any advantage of using wp_scripts and is_IE when enqueuing scripts
- TinyMCE in a div / textarea on frontend?
- What do the args for Gutenberg subpackage “hooks” function “doAction” mean?
- Include Javascript as Plain (No file inclusion)
- Adding wp_ajax to a theme outside functions.php (on specific template page)
- Insert shortcode in post editor from javascript (Visual / HTML)
- Provide specific example for block variation
- Block editor: How to check if block editor has initialized and populated the data store?
- Contact Form 7 – Give each checkbox a class?
- How to add a custom.js file for a child-theme in a swift way?
- is_page not working when loading javascript with add_action in functions.php
- Hide reply button after moveForm is called
- Custom wp.editor.initialize settings ignored
- Why my javascript code not working for the dashboard of wordpress admin?
- Detect When User Reads Full Article? [closed]
- How to set callback to execute after all the tinyMCE editors have been initialized?
- How to add classes and events to image in javascript using Gutenberg?
- useSelect second parameter
- Adding Code into Theme Customizer Header
- Javascript in wordpress
- Do I just put the html in a page when enqueueng or do I also have to reference js file from the html page [closed]
- How to inherit custom javascript from parent to child pages?
- jQuery UI Tools: Scrollable: More than 1 instance possible?
- imporing HTML+javascript from REST API
- how to add a custom javascript file to our theme
- Why does my array sort order changes when I pass it to JS using WP_REST_Response?
- WordPress Guternberg Content For React Native
- Custom block update rendering when reused
- How do I add my own scripts to the add_action(‘wp_enqueue_scripts’) function?
- Post title and url not showing on google map marker [closed]
- Including js script at end of header
- contact form 7 javascript and wpcf7_before_send_mail action
- Use one javascript variable into another javascript file
- Embed Kajabi into WP
- Google AdSense Ad not showing up in WordPress Blog [closed]