Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't detect pb_public folder with pocketbase #9

Open
RayyanNafees opened this issue Apr 18, 2024 · 3 comments
Open

Doesn't detect pb_public folder with pocketbase #9

RayyanNafees opened this issue Apr 18, 2024 · 3 comments

Comments

@RayyanNafees
Copy link

It works well when running bun x gobot pocketbase serve and creates pb_data & pb_migrations folder in the directory i ran it

But after adding a simple html file in pb_public folder in the same directory it fails to detect it and results in a data not found

As illustrated in this vid

d681b660-4d16-416e-93b7-03e5e4296f1e.mp4
@benallfree
Copy link
Owner

Are you sure this is a gobot issue? What happens when you run pocketbase directly?

@RayyanNafees
Copy link
Author

Pocketbase CLI does detect the pb_public directory and serves it's static files on port 8090/
While the admin panel is routed to /_ & the REST API is routed through /api ...
The / endpoint returns the contents of pb_public directory

As stated in their docs

While the feature seems missing when using with gobot

Here is when I used pocketbase official CLI on the same directory

c681801a-5018-4cfd-9298-84864f3b40e5.mp4

@RayyanNafees
Copy link
Author

@benallfree any progress ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants