This commit is contained in:
Gwenhael Le Moine 2019-11-21 12:38:35 +01:00
parent 2f6b3e193c
commit 5cde92fea3
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<meta charset="UTF-8">
<script> <script>
const fetch_from_API = async ( endpoint, params = {} ) => { const fetch_from_API = async ( endpoint, params = {} ) => {
let url = new URL( endpoint, `${location.protocol}//${location.host}` ); let url = new URL( endpoint, `${location.protocol}//${location.host}` );