@@ -49,6 +49,10 @@
private String GetAbsoluteUri()
{
- return NavigationManager.ToAbsoluteUri("/aff/").ToString() + @UserService.GetLoggedUser().GetId();
+ //Detect if it's from localhost or online, change the uri depending of that
+
+
+ return NavigationManager.BaseUri.ToString() + "aff/" + @UserService.GetLoggedUser().GetId();
+ //return NavigationManager.ToAbsoluteUri("/aff/").ToString() + @UserService.GetLoggedUser().GetId();
}
}
\ No newline at end of file