Created
December 3, 2017 21:28
-
-
Save angelovstanton/847a568f5c5f65ec56328ab3e04590f3 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
private async Task OnRequestRedirectTrafficEventHandler(object sender, SessionEventArgs e) | |
{ | |
if (e.WebSession.Request.RequestUri.AbsoluteUri.Contains("logo.svg")) | |
{ | |
await e.Redirect("https://automatetheplanet.com/wp-content/uploads/2016/12/homepage-img-1.svg"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment