mirror of
https://github.com/Ai-hack-MAGNUM-OPUS/frontend.git
synced 2024-11-25 11:03:48 +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
|
|
} |