Commit 91a2305f authored by Zac Wood's avatar Zac Wood
Browse files

forgot how urls work

parent de1a4c32
import * as FileSaver from 'file-saver'; import * as FileSaver from 'file-saver';
export const ENDPOINTS = { export const ENDPOINTS = {
generateCalendar: 'http:localhost:3000/api/generate', generateCalendar: 'http://localhost:3000/api/generate',
}; };
export function postData(endpoint: string, data: any): Promise<Response> { export function postData(endpoint: string, data: any): Promise<Response> {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment