Fix session index not found
Fix for urls without domain