Feeling Betrayed by Friend?

So, five years ago my ex-husband and I divorced. After a lot of lying, my ex found a much younger, unemployed, cosplay enthusiast and cheated on me with her. He decided to leave me for her. They are now married. Fine.

Today I found that one of my friends (we used to be best friends) is now friends with her online.

I knew my friends husband started hanging out with my ex-husband AFTER we divorced but I guess I always hoped my friend would maintain some loyalty to me by not becoming friends with her.

Is that crazy? Am I being crazy? I feel really hurt by this and I don't know if I can continue being friends with her. What should I do?