Fix js build

This commit is contained in:
Viktor Liu
2025-10-02 15:59:17 +02:00
parent 66483ab48d
commit b3c7b3c7b2
5 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
//go:build js
package server
// validateUsername is not supported on JS/WASM
func validateUsername(_ string) error {
return errNotSupported
}