removed redundant path in endpoint.
This commit is contained in:
@@ -23,7 +23,7 @@ app.MapStaticAssets();
|
||||
app.MapRazorComponents<App>()
|
||||
.AddAdditionalAssemblies(typeof(Enciphered.Blazor.UIComponents.SidebarProvider).Assembly);
|
||||
|
||||
app.MapFormValidation<ContactFormValidator, ContactFormModel>("/api/forms/contact",
|
||||
app.MapFormValidation<ContactFormValidator, ContactFormModel>("/api/contact",
|
||||
onSuccess: async model =>
|
||||
{
|
||||
Console.WriteLine("── Form Submitted ──");
|
||||
|
||||
Reference in New Issue
Block a user