Fixed localhost URL fallback