Oh wow! Cant believe I didnt notice that and I even copied and pasted it lol!
mikeysee
2
Posts
1
Topics
1
Followers
2
Following
A member registered Sep 04, 2019
Recent community posts
itch.io Community » itch.io » Questions & Support · Replied to leafo in net::ERR_ABORTED 403 for relative asset
itch.io Community » itch.io » Questions & Support · Created a new topic net::ERR_ABORTED 403 for relative asset
Hi,
I have read the issue and the FAQ about uploading HTML5 games (https://itch.io/docs/creators/html5) and am using relative links for assets but for some reason im still getting 403's any idea?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>BattleTabs</title>
<base href="/">
...
<link rel="stylesheet" type="text/css" href="./main.css" />
</head>
<body tabIndex="1">
...
<script src="main.js" type="module"></script>
</body>
</html>
Neither of those two relative paths, css or js, seem to work I get the same issue:
