Diff

net/http/errors.lua @ 12974:ba409c67353b

net: Prefix module imports with prosody namespace
author Kim Alvefur <zash@zash.se>
date Fri, 17 Mar 2023 16:23:12 +0100
parent 11225:8c17c08d100e
line wrap: on
line diff
--- a/net/http/errors.lua	Fri Mar 17 17:07:47 2023 +0100
+++ b/net/http/errors.lua	Fri Mar 17 16:23:12 2023 +0100
@@ -2,8 +2,8 @@
 -- and a function to return a util.error object given callback 'code' and 'body'
 -- parameters.
 
-local codes = require "net.http.codes";
-local util_error = require "util.error";
+local codes = require "prosody.net.http.codes";
+local util_error = require "prosody.util.error";
 
 local error_templates = {
 	-- This code is used by us to report a client-side or connection error.