Skip to content

Commit dbe101c

Browse files
committed
Change domain
1 parent 9b905d0 commit dbe101c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pages/heatmap/+Page.client.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ import {
1111
MapAreaContainer,
1212
MapView,
1313
} from "@macrostrat/map-interface";
14-
import { mapboxAccessToken } from "@macrostrat-web/settings";
14+
import { mapboxAccessToken, tileserverDomain } from "@macrostrat-web/settings";
1515
import { Footer } from "~/components/general";
1616
import { Tabs, Tab } from "@blueprintjs/core";
1717
import { mergeStyles } from "@macrostrat/mapbox-utils";
1818

19-
const tileServer = 'http://localhost:5500';
20-
2119
export function Page() {
2220
return h('div.main', [
2321
h('div.heatmap-page', [
@@ -44,7 +42,7 @@ function todayStyle() {
4442
sources: {
4543
today: {
4644
type: "vector",
47-
tiles: [ tileServer + "/stats-tile/{z}/{x}/{y}?date=today" ],
45+
tiles: [ tileserverDomain + "/usage-stats/rockd/{z}/{x}/{y}?date=today" ],
4846
}
4947
},
5048
layers: [
@@ -67,7 +65,7 @@ function allStyle() {
6765
sources: {
6866
all: {
6967
type: "vector",
70-
tiles: [ tileServer + "/stats-tile/{z}/{x}/{y}" ],
68+
tiles: [ tileserverDomain + "/usage-stats/rockd/{z}/{x}/{y}" ],
7169
}
7270
},
7371
layers: [

0 commit comments

Comments
 (0)