Commit f2a567b4 authored by justcoding121's avatar justcoding121

update sample proj

parent 94dbd497
......@@ -130,7 +130,7 @@ namespace Titanium.Web.Proxy.Examples.Basic
private async Task<bool> OnBeforeTunnelConnect(string hostname)
{
if (hostname.Contains("google.com") || hostname.Contains("bing.com"))
if (hostname.Contains("amazon.com") || hostname.Contains("paypal.com"))
{
//exclude bing.com and google.com from being decrypted
//instead it will be relayed via a secure TCP tunnel
......@@ -181,7 +181,7 @@ namespace Titanium.Web.Proxy.Examples.Basic
//To cancel a request with a custom HTML content
//Filter URL
if (e.WebSession.Request.RequestUri.AbsoluteUri.Contains("google.com"))
if (e.WebSession.Request.RequestUri.AbsoluteUri.Contains("yahoo.com"))
{
await e.Ok("<!DOCTYPE html>" +
"<html><body><h1>" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment