Delete the JS css codes from line 96 to test2

This commit is contained in:
Alireza Adli 2023-10-19 12:47:59 -04:00
parent 18042618f8
commit f13c98881a

View File

@ -93,8 +93,6 @@ function renderHTML(context, data, req, res) {
`<!doctype html>
<html lang="">
<head>
<link href="https://api.mapbox.com/mapbox-gl-js/v2.14.1/mapbox-gl.css" rel="stylesheet" />
<script src="https://api.mapbox.com/mapbox-gl-js/v2.14.1/mapbox-gl.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8" />
@ -139,6 +137,8 @@ function renderHTML(context, data, req, res) {
? `<script src="${assets.client.js}" defer></script>`
: `<script src="${assets.client.js}" defer crossorigin></script>`
}
<link href="https://api.mapbox.com/mapbox-gl-js/v2.14.1/mapbox-gl.css" rel="stylesheet" />
<script src="https://api.mapbox.com/mapbox-gl-js/v2.14.1/mapbox-gl.js"></script>
</head>
<body>
<div id="root">${markup}</div>