apex / apex/up

Dynamic app static serving of index.html files

Aperta
#636 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Feature Request
Lingua principale
Go
Stelle
8.8k
Fork
383
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Prerequisites

* [x] I am running the latest version. (`up upgrade`)
* [x] I searched to see if the issue already exists.
* [x] I inspected the verbose debug output with the `-v, --verbose` flag.
* [ ] Are you an Up Pro subscriber?

## Description

I have a node.js app with a `public` directory containing index.html - however visiting `/` does not serve index.html. All the other files in my `public` directory are served fine.

My up.json looks like this:

```
{
"name": "test-app",
"static": {
"dir": "public"
}
}
```

If I add `"type": "static"` to my config, index.html is served fine

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.