diff options
Diffstat (limited to 'app/httpd.c')
-rw-r--r-- | app/httpd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/httpd.c b/app/httpd.c index b3776c3..71c62a4 100644 --- a/app/httpd.c +++ b/app/httpd.c @@ -270,6 +270,10 @@ int fs_open_custom (struct fs_file *file, const char *name) file->data = (const char *)meteotime_data; file->len=sizeof(meteotime_data); } + else if (!strcmp (name, "/ephemeris.dat")) { + file->data = (const char *)ephemeris; + file->len=sizeof(ephemeris); + } else { printf ("looking for url=%s, found nothing\n", name); return 0; |