mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
8c0d87168e
* Most things are working * Cookies and lots of improvements * Hoist regex * Appveyor test * Fix appveyor file * Remove yarn * Test deps * Fix * Remove all git deps * fix * Fix * Add cash rm * Fix command * Fix * Production * try * fix * fix? * Done * Remove cache * tweak * Shortcut * Fix * Attempt * try * Try clone depth * Try again * back to shallow_clone * Some debugging * Another try * Try something else * Another * try curl only * Another * fix * Update node-gyp * Try again * Try * Again * Some pruning * Back to the start * Again * try config * Reorder test * Try without cache * Update dep * Try again * remove shallow_clone * don't run tests * Implement CA fetching * Fix * Use CAs * Fix? * test * Remove build dir * Fix dir path? * Try again * Aagain * Try * Change dep * Add comment * Invalidate cache * Remove yarn * Fix cookie expiry * fixed tests * Some modal fixes and unrelated stuff * Debounce autocomplete * Got client certificates working * Fixed binary files * Fixed cookies * Got proxy and debug info working * Got CA certs working * Update appveyor build * Fixed cookie date parsing and overlay z-index * Test updates * Autocomplete to bulk header editor * Small CSS tweak
16 lines
418 B
JavaScript
16 lines
418 B
JavaScript
import {createStore, applyMiddleware} from 'redux';
|
|
import thunkMiddleware from 'redux-thunk';
|
|
import {reducer} from './modules';
|
|
|
|
export default function () {
|
|
const middleware = [thunkMiddleware];
|
|
const store = createStore(reducer, applyMiddleware(...middleware));
|
|
if (__DEV__ && module.hot) {
|
|
module.hot.accept('./modules/index', () => {
|
|
store.replaceReducer(reducer);
|
|
});
|
|
}
|
|
|
|
return store;
|
|
}
|