mirror of
https://github.com/Ai-hack-MAGNUM-OPUS/frontend.git
synced 2024-11-22 17:46:52 +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
|
|
} |