webdav protal office 365 fix
This commit is contained in:
parent
92befdea38
commit
f2c54df2b0
27 changed files with 466 additions and 80 deletions
|
@ -26,12 +26,28 @@ namespace WebsitePanel.WebDavPortal
|
|||
|
||||
#endregion
|
||||
|
||||
#region Owa
|
||||
|
||||
routes.MapRoute(
|
||||
name: OwaRouteNames.GetFile,
|
||||
url: "owa/wopi*/files/{encodedPath}/contents",
|
||||
defaults: new { controller = "Owa", action = "GetFile" }
|
||||
);
|
||||
|
||||
routes.MapRoute(
|
||||
name: OwaRouteNames.CheckFileInfo,
|
||||
url: "owa/wopi*/files/{encodedPath}",
|
||||
defaults: new { controller = "Owa", action = "CheckFileInfo" }
|
||||
);
|
||||
|
||||
#endregion
|
||||
|
||||
routes.MapRoute(
|
||||
name: "Office365DocumentRoute",
|
||||
url: "office365/{org}/{*pathPart}",
|
||||
defaults: new { controller = "FileSystem", action = "ShowOfficeDocument", pathPart = UrlParameter.Optional }
|
||||
);
|
||||
|
||||
|
||||
routes.MapRoute(
|
||||
name: FileSystemRouteNames.FilePath,
|
||||
url: "{org}/{*pathPart}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue