nuxt / http

Universal HTTP Module for Nuxt.js
https://http.nuxtjs.org
MIT License
229 stars 51 forks source link

Dont depend on `ky` for refresh token #141

Open atinux opened 4 years ago

atinux commented 4 years ago

I believe we should not depend on ky but having a way to disable token headers on this example: https://http.nuxtjs.org/advanced/#register-hooks

ricardogobbosouza commented 3 years ago

Hi @Atinux, @pi0 Can I refactor this module to use https://github.com/nuxt-contrib/ohmyfetch ?

pi0 commented 3 years ago

@ricardogobbosouza ohmyfetch lacks featues like hooks to replace ky. Plan is to maintain axios/http but without major changes and create @nuxt/fetch to provide $fetch to both runtime and modules