now works, moving onto features
parent
6011a0ab81
commit
406361575d
|
@ -1,4 +1,6 @@
|
|||
*.swp
|
||||
tmp/
|
||||
.vagrant
|
||||
|
||||
### Linux template
|
||||
*~
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
5533801d-70e3-4c21-9942-82d20930c789
|
||||
5533801d-70e3-4c21-9942-82d20930c789
|
||||
5533801d-70e3-4c21-9942-82d20930c789
|
||||
|
|
|
@ -35,7 +35,8 @@ func setupRouter() *gin.Engine {
|
|||
router.Use(gin.Recovery())
|
||||
router.Use(sessions.Sessions("session", store))
|
||||
router.Use(urlLog())
|
||||
router.Any("/", containerProxy)
|
||||
router.Use(containerProxy)
|
||||
// router.Any("/", containerProxy)
|
||||
return router
|
||||
}
|
||||
|
||||
|
@ -83,7 +84,7 @@ func containerProxy(c *gin.Context) {
|
|||
c.Abort()
|
||||
}
|
||||
// Hack to wait for Container to start up and get assigned an IP
|
||||
time.Sleep(1 * time.Second)
|
||||
time.Sleep(3 * time.Second)
|
||||
ctip, err := pods.GetContainerIP(ct)
|
||||
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue