You've already forked factorio-server-manager
mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-12-07 23:34:41 +02:00
12 lines
298 B
JavaScript
12 lines
298 B
JavaScript
import client from "../client";
|
|
|
|
export default {
|
|
status: async () => {
|
|
const response = await client.get('/api/user/status');
|
|
return response.data;
|
|
},
|
|
login: async data => {
|
|
const response = await client.post('/api/login');
|
|
return response.data;
|
|
}
|
|
} |