Renamed script.js -> index.js

This commit is contained in:
2022-07-25 00:49:40 +00:00
parent b504d3235e
commit 91ae70b190
2 changed files with 6 additions and 6 deletions

View File

@@ -46,6 +46,6 @@
</div>
</template>
<script src='script.js' type='module'></script>
<script src='index.js' type='module'></script>
</body>
</html>

View File

@@ -9,11 +9,11 @@ async function main() {
};
const stringifiedQuery = Qs.stringify({
...query
},
{
addQueryPrefix: true
}
...query
},
{
addQueryPrefix: true
}
);
const events = await (await fetch(`/api/events${stringifiedQuery}`)).json();