+13
config.worker.example.json
+13
config.worker.example.json
+1
-1
src/worker.js
+1
-1
src/worker.js
···
1
1
import { Handler } from "./handler.js";
2
2
import { Config } from "./config.js";
3
-
import configObj from "../config.example.json"; // must be set at build time
3
+
import configObj from "../config.worker.example.json"; // must be set at build time
4
4
5
5
export default {
6
6
async fetch(request, env, ctx) {