Skip to content

Commit

Permalink
Fix #741: CodeStart serve quinoa.html (#746)
Browse files Browse the repository at this point in the history
* Fix #741: CodeStart serve quinoa.html

* Use /quinoa as base path for codestart

---------

Co-authored-by: Andy Damevin <ia3andy@gmail.com>
  • Loading branch information
melloware and ia3andy authored Aug 29, 2024
1 parent ce0b541 commit a308c2b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 1,337 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ public boolean verify(String hostname, SSLSession session) {
connection.setReadTimeout(2000);
connection.connect();
int code = connection.getResponseCode();
return code == 200 ? ipAddress : null;
// in both cases the server is started, for 404 it might be started on another path
return (code == 200 || code == 404) ? ipAddress : null;
} catch (ConnectException | SocketTimeoutException e) {
// Try the next address
} catch (IOException e) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/
counter.js
quinoa.html
vite.config.js
index.html
main.js
package-lock.json
package.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ quarkus:
package-manager-install:
~: true
node-version: 20.10.0
ui-root-path: quinoa
Loading

0 comments on commit a308c2b

Please sign in to comment.