Skip to content

Invalid URL #444

@Miltage

Description

@Miltage

This is probably a me-issue because I don't see anyone else mentioning this but I cannot seem to get Smee to run with a provided path.

smee --url https://smee.io/nDO35Rc3GYXSiCDu --port 8085 --path /webhook

Every time this results in the following error:

Error: The provided URL is invalid.
    at validateURL (file:///C:/Users/thesh/AppData/Roaming/npm/node_modules/smee-client/index.js:9:15)
    at new SmeeClient (file:///C:/Users/thesh/AppData/Roaming/npm/node_modules/smee-client/index.js:80:9)
    at setup (file:///C:/Users/thesh/AppData/Roaming/npm/node_modules/smee-client/bin/smee.js:75:20)
    at file:///C:/Users/thesh/AppData/Roaming/npm/node_modules/smee-client/bin/smee.js:79:3

Node.js v24.14.0

However, if I run the command without the path parameter, I don't have any issue:

smee --url https://smee.io/nDO35Rc3GYXSiCDu --port 8085

Connected to https://smee.io/nDO35Rc3GYXSiCDu
Forwarding https://smee.io/nDO35Rc3GYXSiCDu to http://127.0.0.1:8085

I tried on multiple versions of Node as well and that didn't change anything. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions