Ste Griffiths

Living the way of Jesus, writing code, and loving my community.

Hi, I’m SteGriff! I’m married to Helen, I write code for Paymentshield (and my own enjoyment), and I’m trying to take after Jesus Christ (but still working on it).

Life is always changing, so you can find my latest status on my /now page.

I write fairly technical notes on my blog, and more longform on

Recent blog posts:

Get vue-router to change part of the query string without a page refresh

People use vue-router in Vue Single Page Apps (SPAs) to manage how the URL affects what you’re seeing on the page. Sometimes you want to change or remove some part of the query string (?origin=SOP&destination=LPL), but not the whole thing. Vue-router is a little tricky about this because the $route.query...

Mythbusting High Fructose Corn Syrup (HFCS)

When I go to the USA, I eat sweets and drink fizzy drinks that are made with High Fructose Corn Syrup (HFCS) instead of sugar. I’ve always felt that this is a guilty pleasure (moreso than the UK equivalent) because of this special ingredient. But after telling people scary things...

Dealing with CORS

Cross Origin Resource Sharing (CORS) is a security measure enforced by web browsers which affects calls made from a web browser session to a remote resource like an API on another web domain. The key to understanding CORS is to understand that it is the browser which is blocking, but...