Skip to content

initServer.ts has a error, admin is not defined  #1

@sgalcheung

Description

@sgalcheung

I just imported the admin to resolve this error, but it still did not work after a while.
Here are some changes:

  1. change the .firebaserc, this file defines the project but does not use the name, Find the project ID on your firebase(such as beaudible-xxx).
  2. according to Firebase & Astro change the initServer.ts.
  3. replace localhost with 127.0.0.1 in the initServer.ts.

Related Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions