Use request base instead of window host