mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
interface: address review comments and don't timeout channels
This commit is contained in:
parent
5ba1027a90
commit
1330ff6fe3
@ -72,8 +72,15 @@ if(urbitrc.URL) {
|
||||
...devServer,
|
||||
index: '',
|
||||
proxy: {
|
||||
context: () => true,
|
||||
target: urbitrc.URL
|
||||
'/~landscape/js/index.js': {
|
||||
target: 'http://localhost:9000',
|
||||
pathRewrite: (req, path) => '/index.js'
|
||||
},
|
||||
'**': {
|
||||
target: urbitrc.URL,
|
||||
// ensure proxy doesn't timeout channels
|
||||
proxyTimeout: 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -154,5 +154,5 @@ class App extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
export default hot(App);
|
||||
export default process.env.NODE_ENV === 'production' ? App : hot(App);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user