Skip to content

Domain Expired: Docs Unavailable / Question Re: Relative base: ./ #297

@jamcalli

Description

@jamcalli

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

As the title states, it would appear your domain has expired and the docs are unavailable.

I was exploring how to get dynamic runtime base paths to work using fastify-vite and was trying several things, including setting:

base: './'

Which errors out:

node:internal/process/promises:394
    triggerUncaughtException(err, true /* fromPromise */);
    ^

AssertionError [ERR_ASSERTION]: The first character of a path should be `/` or `*`
    at Router.on (/watchlist-v2/node_modules/find-my-way/index.js:118:3)
    at Object.addNewRoute (/watchlist-v2/node_modules/fastify/lib/route.js:352:16)
    at Object.route (/watchlist-v2/node_modules/fastify/lib/route.js:263:19)
    at Object._route [as route] (/watchlist-v2/node_modules/fastify/fastify.js:301:27)
    at fastifyStatic (/watchlist-v2/node_modules/@fastify/static/index.js:115:15)
    at Plugin.exec (/watchlist-v2/node_modules/avvio/lib/plugin.js:125:28)
    at Boot._loadPlugin (/watchlist-v2/node_modules/avvio/boot.js:432:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '==',
  diff: 'simple'
}

Any suggestions on subfolder deployments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions