- Add error handling for JSON encoding in all backend handlers - Add CORS support to backend server - Add proxy configuration for frontend development server - Improve error handling in frontend API calls - Build frontend to create static files for backend serving - Add comprehensive error messages and user feedback Fixes issue where frontend received malformed JSON responses from backend API.
17 lines
360 B
Modula-2
17 lines
360 B
Modula-2
module markdown-editor
|
|
|
|
go 1.21
|
|
|
|
require (
|
|
github.com/gorilla/mux v1.8.1
|
|
github.com/sirupsen/logrus v1.9.3
|
|
github.com/spf13/cobra v1.7.0
|
|
)
|
|
|
|
require (
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/rs/cors v1.11.1 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
|
|
)
|