File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function handleMaybeCritical(e) {
3737 }
3838}
3939
40- class EntryPoint extends WorkerEntrypoint { }
40+ class Entrypoint extends WorkerEntrypoint { }
4141
4242$HANDLERS
4343
@@ -108,4 +108,4 @@ const classProxyHooks = {
108108 }
109109} ;
110110
111- export default new Proxy ( EntryPoint , classProxyHooks ) ;
111+ export default new Proxy ( Entrypoint , classProxyHooks ) ;
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ fn generate_handlers() -> Result<String> {
152152 for func_name in func_names {
153153 if func_name == "fetch" {
154154 handlers += & format ! (
155- "EntryPoint .prototype.fetch = async function fetch(request) {{
155+ "Entrypoint .prototype.fetch = async function fetch(request) {{
156156 try {{
157157 let response = exports.fetch(request, this.env, this.ctx);
158158 {}
@@ -169,7 +169,7 @@ fn generate_handlers() -> Result<String> {
169169 }
170170 )
171171 } else {
172- handlers += & format ! ( "EntryPoint .prototype.{func_name} = exports.{func_name};\n " )
172+ handlers += & format ! ( "Entrypoint .prototype.{func_name} = exports.{func_name};\n " )
173173 }
174174 }
175175
You can’t perform that action at this time.
0 commit comments