Fix: Clean up whitespace in document viewer and WOPI handler files
This commit is contained in:
@@ -603,6 +603,7 @@ func wopiSessionHandler(w http.ResponseWriter, r *http.Request, db *database.DB,
|
|||||||
|
|
||||||
fmt.Printf("[WOPI-REQUEST] Session created: file=%s user=%s\n", fileID, userID.String())
|
fmt.Printf("[WOPI-REQUEST] Session created: file=%s user=%s\n", fileID, userID.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
// CollaboraProxyHandler serves an HTML page that POSTs WOPISrc to Collabora
|
// CollaboraProxyHandler serves an HTML page that POSTs WOPISrc to Collabora
|
||||||
// This avoids CORS issues by having the POST originate from our domain
|
// This avoids CORS issues by having the POST originate from our domain
|
||||||
func collaboraProxyHandler(w http.ResponseWriter, r *http.Request, db *database.DB, jwtManager *jwt.Manager, collaboraURL string) {
|
func collaboraProxyHandler(w http.ResponseWriter, r *http.Request, db *database.DB, jwtManager *jwt.Manager, collaboraURL string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user