mirror of
https://github.com/Ai-hack-MAGNUM-OPUS/frontend.git
synced 2024-11-28 20:43:44 +03:00
6 lines
142 B
TypeScript
6 lines
142 B
TypeScript
import axios from 'axios'
|
|
import {host} from './consts'
|
|
|
|
export const get = async (url: string) => {
|
|
return (await axios.get(url)).data
|
|
} |