fixed assets location
This commit is contained in:
parent
633ec7a535
commit
6d25e17e44
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="icon" type="image/png" href="/assets/favicon.ico" />
|
<link rel="icon" type="image/png" href="assets/favicon.ico" />
|
||||||
<title>Mapgen demo</title>
|
<title>Mapgen demo</title>
|
||||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
|
||||||
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
|
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
|
||||||
|
|
|
@ -18,7 +18,7 @@ canvas.height = CELL_SIZE * height;
|
||||||
canvas.width = CELL_SIZE * width;
|
canvas.width = CELL_SIZE * width;
|
||||||
// Load tiles bitmap
|
// Load tiles bitmap
|
||||||
let tiles_image = new Image();
|
let tiles_image = new Image();
|
||||||
tiles_image.src = '/assets/tiles.png';
|
tiles_image.src = 'assets/tiles.png';
|
||||||
|
|
||||||
const ctx = canvas.getContext('2d');
|
const ctx = canvas.getContext('2d');
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="icon" type="image/png" href="/assets/favicon.ico" />
|
<link rel="icon" type="image/png" href="assets/favicon.ico" />
|
||||||
<title>Mapgen demo</title>
|
<title>Mapgen demo</title>
|
||||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
|
||||||
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
|
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user