🗃️ insert questions & answers

Co-authored-by: haraldnilsen <harald_998@hotmail.com>
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
Sindre Kjelsrud 2024-01-13 20:52:21 +01:00
parent 5f1790d8b6
commit c0aa51902c
Signed by untrusted user who does not match committer: sidski
GPG key ID: D2BBDF3EDE6BA9A6
4 changed files with 1074 additions and 37 deletions

View file

@ -35,7 +35,7 @@ type Evaluation struct {
func main() {
router := gin.Default()
// router.Use(cors.Default())
//router.Use(cors.Default())
router.GET("/hello", func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"hello":"world"})
@ -148,6 +148,6 @@ func main() {
})
// Run the server on port 8080
// db.SetupDb()
//db.SetupDb()
router.Run(":8080")
}