Skip to content

Commit 18dc3fb

Browse files
authored
fix: remove layer0 and edgio providers (#1763)
1 parent 9d7079b commit 18dc3fb

File tree

13 files changed

+1
-140
lines changed

13 files changed

+1
-140
lines changed

docs/content/3.providers/edgio.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

docs/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ useSeoMeta({
1616
const source = ref('npx nuxi@latest module add image')
1717
const { copy, copied } = useClipboard({ source })
1818
19-
const providers = ['caisy', 'bunny', 'cloudflare', 'cloudimage', 'cloudinary', 'directus', 'edgio', 'fastly', 'filerobot', 'glide', 'gumlet', 'hygraph', 'imageengine', 'imagekit', 'imgix', 'ipx', 'netlify', 'prepr', 'prismic', 'sanity', 'storyblok', 'strapi', 'twicpics', 'unsplash', 'uploadcare', 'vercel', 'weserv']
19+
const providers = ['caisy', 'bunny', 'cloudflare', 'cloudimage', 'cloudinary', 'directus', 'fastly', 'filerobot', 'glide', 'gumlet', 'hygraph', 'imageengine', 'imagekit', 'imgix', 'ipx', 'netlify', 'prepr', 'prismic', 'sanity', 'storyblok', 'strapi', 'twicpics', 'unsplash', 'uploadcare', 'vercel', 'weserv']
2020
// Disabling because svg to png does not work now with SSG
2121
// Related issue: https://github.com/unjs/ipx/issues/160
2222
// const img = useImage()

playground/nuxt.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,6 @@ export default defineNuxtConfig({
8989
netlifyLargeMedia: {
9090
baseURL: 'https://netlify-photo-gallery.netlify.app',
9191
},
92-
layer0: {
93-
baseURL: 'https://opt.moovweb.net',
94-
},
95-
edgio: {
96-
baseURL: 'https://opt.moovweb.net',
97-
},
9892
prismic: {},
9993
prepr: {
10094
projectName: 'nuxt-prepr-demo',

playground/providers.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -400,24 +400,6 @@ export const providers: Provider[] = [
400400
},
401401
],
402402
},
403-
// Layer0
404-
{
405-
name: 'layer0',
406-
samples: [
407-
{ src: 'https://i.imgur.com/LFtQeX2.jpeg', height: 200 },
408-
{ src: 'https://i.imgur.com/LFtQeX2.jpeg', width: 50 },
409-
{ src: 'https://i.imgur.com/LFtQeX2.jpeg', quality: 10 },
410-
],
411-
},
412-
// Edgio
413-
{
414-
name: 'edgio',
415-
samples: [
416-
{ src: 'https://i.imgur.com/LFtQeX2.jpeg', height: 200 },
417-
{ src: 'https://i.imgur.com/LFtQeX2.jpeg', width: 50 },
418-
{ src: 'https://i.imgur.com/LFtQeX2.jpeg', quality: 10 },
419-
],
420-
},
421403
// Prepr
422404
{
423405
name: 'prepr',

src/provider.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const BuiltInProviders = [
2121
'cloudinary',
2222
'contentful',
2323
'directus',
24-
'edgio',
2524
'fastly',
2625
'filerobot',
2726
'glide',
@@ -32,7 +31,6 @@ const BuiltInProviders = [
3231
'imgix',
3332
'ipx',
3433
'ipxStatic',
35-
'layer0',
3634
'netlify',
3735
'netlifyLargeMedia',
3836
'netlifyImageCdn',

src/runtime/providers/edgio.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/runtime/providers/layer0.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/types/module.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ export interface ImageProviders {
110110
gumlet?: any
111111
imagekit?: any
112112
imgix?: any
113-
layer0?: any
114-
edgio?: any
115113
prismic?: any
116114
twicpics?: any
117115
storyblok?: any

test/e2e/__snapshots__/edgio.json5

Lines changed: 0 additions & 12 deletions
This file was deleted.

test/e2e/__snapshots__/layer0.json5

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)