mirror of
https://github.com/tuanngocptn/nport.git
synced 2026-04-26 05:35:48 +03:00
[GH-ISSUE #3] Bug: Issue with URL Generation in nport using API method #1
Labels
No labels
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nport#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gitSambhal on GitHub (Jan 22, 2025).
Original GitHub issue: https://github.com/tuanngocptn/nport/issues/3
Hi @tuanngocptn Found a bug when using the package in API
The script hangs when using nport.link without
serversubdomain. Additionally, the generated URL format is incorrect.Expected Behavior:
The correct URL https://my-subdomain.nport.link should be returned.
Actual Behavior:
The returned URL is https://my-subdomain.server.nport.link, which doesn’t work. Accessing https://my-subdomain.nport.link works fine.
Environment:
• Version of nport: 1.0.6
• Node.js version: 20.15.0
• OS: Mac
Additional Context:
• The script hangs when nport.link is used without a subdomain in server.
@tuanngocptn commented on GitHub (Dec 8, 2025):
Thanks for your reporting. The problem from the server is going down at that time 😂. Everything is okay now. I have a plan for moving to using serverless that will running only when user request. Now that still runing 24/7 -> That not really good now