Revert external resources to relative URL