Created
December 28, 2021 11:01
-
-
Save bjoerntx/64b98add7823bf0f94938e1e95478e66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// serve static linked files (JavaScript and CSS for the editor) | |
app.UseStaticFiles(new StaticFileOptions { | |
FileProvider = new Microsoft.Extensions.FileProviders.PhysicalFileProvider( | |
System.IO.Path.Combine(System.IO.Path.GetDirectoryName( | |
System.Reflection.Assembly.GetEntryAssembly().Location), | |
"TXTextControl.Web")), | |
RequestPath = "/envelope/create/TXTextControl.Web" | |
}); | |
app.UseStaticFiles(new StaticFileOptions { | |
FileProvider = new Microsoft.Extensions.FileProviders.PhysicalFileProvider( | |
System.IO.Path.Combine(System.IO.Path.GetDirectoryName( | |
System.Reflection.Assembly.GetEntryAssembly().Location), | |
"TXTextControl.Web")), | |
RequestPath = "/collaboration/edit/TXTextControl.Web" | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment