Fixed documentation scrolling issue
This commit is contained in:
@@ -2877,8 +2877,8 @@ func fixUserOrg(ctx context.Context, user *User) *User {
|
||||
|
||||
// Used for testing only. Shouldn't impact production.
|
||||
func handleCors(resp http.ResponseWriter, request *http.Request) bool {
|
||||
//allowedOrigins := "http://localhost:3000"
|
||||
allowedOrigins := "http://localhost:3002"
|
||||
allowedOrigins := "http://localhost:3000"
|
||||
//allowedOrigins := "http://localhost:3002"
|
||||
|
||||
resp.Header().Set("Vary", "Origin")
|
||||
resp.Header().Set("Access-Control-Allow-Headers", "Content-Type, Accept, X-Requested-With, remember-me, Authorization")
|
||||
|
||||
@@ -4764,9 +4764,9 @@ func getWorkflowAppConfig(resp http.ResponseWriter, request *http.Request) {
|
||||
|
||||
//if IsValid bool `json:"is_valid" yaml:"is_valid" required:true datastore:"is_valid"`
|
||||
// Sharing bool `json:"sharing" yaml:"sharing" required:false datastore:"sharing"`
|
||||
log.Printf("Sharing: %s", app.Sharing)
|
||||
log.Printf("Generated: %s", app.Generated)
|
||||
log.Printf("Downloaded: %s", app.Downloaded)
|
||||
//log.Printf("Sharing: %s", app.Sharing)
|
||||
//log.Printf("Generated: %s", app.Generated)
|
||||
//log.Printf("Downloaded: %s", app.Downloaded)
|
||||
|
||||
// FIXME - Handle sharing and such PROPERLY
|
||||
if app.Sharing && app.Generated {
|
||||
|
||||
Reference in New Issue
Block a user