You've already forked factorio-server-manager
mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-12-11 23:48:46 +02:00
add Logout
This commit is contained in:
@@ -8,5 +8,9 @@ export default {
|
||||
login: async data => {
|
||||
const response = await client.post('/api/login', JSON.stringify(data));
|
||||
return response.data;
|
||||
},
|
||||
logout: async () => {
|
||||
const response = await client.get('/api/logout');
|
||||
return response.data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user