Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Khalid Ali
schedules
Commits
91a2305f
Commit
91a2305f
authored
May 12, 2018
by
Zac Wood
Browse files
forgot how urls work
parent
de1a4c32
Changes
1
Hide whitespace changes
Inline
Side-by-side
schedules_web/src/utilities.ts
View file @
91a2305f
import
*
as
FileSaver
from
'
file-saver
'
;
export
const
ENDPOINTS
=
{
generateCalendar
:
'
http:localhost:3000/api/generate
'
,
generateCalendar
:
'
http:
//
localhost:3000/api/generate
'
,
};
export
function
postData
(
endpoint
:
string
,
data
:
any
):
Promise
<
Response
>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment