Skip to content

Commit d6d33c9

Browse files
committed
chore: update error message
1 parent 7ea4282 commit d6d33c9

File tree

1 file changed

+1
-1
lines changed
  • packages/runtime/src/templates/edge

1 file changed

+1
-1
lines changed

packages/runtime/src/templates/edge/ipx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const handler = async (req: Request, context: Context) => {
3838
if (!source) {
3939
errors.push('Missing "url" parameter')
4040
} else if (!source.startsWith('http') && !source.startsWith('/')) {
41-
errors.push('The "url" parameter must be a valid URL')
41+
errors.push('The "url" parameter must be a valid URL or path')
4242
}
4343

4444
if (!width) {

0 commit comments

Comments
 (0)