Skip to content

Commit e868f30

Browse files
committed
bring back tax
1 parent 3951920 commit e868f30

File tree

3 files changed

+1
-29
lines changed

3 files changed

+1
-29
lines changed

fresh.gen.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import * as $0 from "./routes/_404.tsx";
66
import * as $1 from "./routes/_app.tsx";
77
import * as $2 from "./routes/index.tsx";
8-
import * as $3 from "./routes/tax.ts";
98
import * as $$0 from "./islands/filters.jsx";
109
import * as $$1 from "./islands/footer.jsx";
1110
import * as $$2 from "./islands/form-and-results.jsx";
@@ -16,7 +15,6 @@ const manifest = {
1615
"./routes/_404.tsx": $0,
1716
"./routes/_app.tsx": $1,
1817
"./routes/index.tsx": $2,
19-
"./routes/tax.ts": $3,
2018
},
2119
islands: {
2220
"./islands/filters.jsx": $$0,

routes/tax.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

utils/smiles-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async function getTax({ flightUid, fare }) {
5959
highlightText: fare.type,
6060
});
6161

62-
const response = await globalThis.fetch("/tax?" + params.toString());
62+
const response = await fetch(window.SEARCH_URL + "/tax?" + params.toString());
6363
const {
6464
totals: { totalBoardingTax: tax },
6565
} = await response.json();

0 commit comments

Comments
 (0)