blob: 741bce7f93f73b34a689a2931cf13953e1b40c4c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
export default function useLocalServer(actions) {
// Use local server for user
actions.settings.update({
type: 'app',
data: {
server: 'http://localhost:45569',
},
});
// Log into local server
// Credentials are ignored by the server but the client requires them
actions.user.login({
email: 'ferdi@localhost',
password: 'FERDI_',
});
}
|