@statusfy/core
Advanced tools
Comparing version 0.1.0-alpha.2 to 0.1.0-alpha.3
@@ -6,3 +6,3 @@ export default class API { | ||
this.isStatic = process.static | ||
this.basePath = '/api/v1' | ||
this.basePath = '/api/v0' | ||
} | ||
@@ -9,0 +9,0 @@ |
@@ -18,3 +18,3 @@ const createDatabase = require('../../../lib/content/database') | ||
const database = await createDatabase(nuxt.options.statusfy.siteConfig) | ||
const pathPrefix = '/content/api/v1' | ||
const pathPrefix = '/content/api/v0' | ||
@@ -21,0 +21,0 @@ nuxt.options.build.plugins.push({ |
@@ -187,3 +187,3 @@ const { path } = require('@statusfy/common') | ||
{ | ||
urlPattern: '(/static/content)?/api/v1/.*', | ||
urlPattern: '(/static/content)?/api/v0/.*', | ||
strategyOptions: { | ||
@@ -190,0 +190,0 @@ cacheName: 'api', |
{ | ||
"name": "@statusfy/core", | ||
"version": "0.1.0-alpha.2", | ||
"version": "0.1.0-alpha.3", | ||
"description": "Core of Statusfy", | ||
@@ -41,4 +41,4 @@ "author": { | ||
"@nuxtjs/pwa": "^2.5.0", | ||
"@statusfy/common": "^0.1.0-alpha.2", | ||
"@statusfy/markdown": "^0.1.0-alpha.2", | ||
"@statusfy/common": "^0.1.0-alpha.3", | ||
"@statusfy/markdown": "^0.1.0-alpha.3", | ||
"body-parser": "^1.18.3", | ||
@@ -76,3 +76,3 @@ "browser-sync": "^2.26.0", | ||
"@mapbox/stylelint-processor-arbitrary-tags": "^0.2.0", | ||
"@statusfy/test-utils": "^0.1.0-alpha.2", | ||
"@statusfy/test-utils": "^0.1.0-alpha.3", | ||
"babel-core": "^7.0.0-0", | ||
@@ -92,3 +92,3 @@ "eslint-config-standard": "^12.0.0", | ||
}, | ||
"gitHead": "bfc2a202a5fca7dbaa4afbcd753117fcf4b27f39" | ||
"gitHead": "b3c783b32fac156be13383ba13ee15b67a82aba1" | ||
} |
@@ -40,3 +40,3 @@ const express = require('express') | ||
app.use(`${apiPrefix}/api/v1`, buildApiRouter(siteConfig)) | ||
app.use(`${apiPrefix}/api/v0`, buildApiRouter(siteConfig)) | ||
@@ -43,0 +43,0 @@ if (nuxtConfig) { |
@@ -127,3 +127,3 @@ /* | ||
// 'light': 300, | ||
// 'normal': 400, | ||
'normal': 400, | ||
'medium': 500, | ||
@@ -130,0 +130,0 @@ 'semibold': 600 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
199003
116