codeskyblue / codeskyblue/gohttpserver
An error in processing buttons home on the main page Go Http Server.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 583
- PR merge metrics
- No merged PRs in 30d
Description
I found a mistake that is called when you press the home button on the main page of the Go Http Server application. This error is manifested as when working on the HTTP and HTTPS ([Nginx](https://github.com/codeskyblue/gohttpserver/blob/df32f57005d9f02ee08a89f237a711316b992376/README.md#deploy-with-nginx)) protocol. The address in the way is configured with an additional line `https://[domain_name]/gohttp/`. When I click on the home button (1) comes out as the main page is conceived, only in a separate pop -up browser window (2). See the attached screenshot. Of the noticeable errors, only the presence of a line:
`https: //***.**/?json=True&_=1747590598359`
and link to line 4 in Java Script:
[`jquery-3.1.0.min.js`](https://github.com/codeskyblue/gohttpserver/blob/df32f57005d9f02ee08a89f237a711316b992376/assets/js/jquery-3.1.0.min.js)
This problem is manifested in all recent versions of the Firefox and Edge browser.


Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the README's “Deploy with Nginx” section and reproduce the home-button behavior using the /gohttp/ path in Firefox or Edge. Inspect assets/js/jquery-3.1.0.min.js and the main-page navigation entry point; done means the home button stays in the intended window and does not produce the malformed URL shown in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, javascript, nginx
- Domain
- devops, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100