I am trying to upload a file for authentication, it must be placed at .well-known directory under document root, so it should be accessible from domain/.well-known/file.txt
but when i hit the url it says route not found if i rename the dir to well-known without a period it works file how can I get this done, I am using adonis.js
and here is my server.js file
'use strict'
/*
|--------------------------------------------------------------------------
| Http Server
|--------------------------------------------------------------------------
|
| Here we boot the HTTP Server by calling the exported method. A callback
| function is optionally passed which is executed, once the HTTP server
| is running.
|
*/
const http = require('./bootstrap/http')
http(function () {
use('Event').fire('Http.start')
})
Aucun commentaire:
Enregistrer un commentaire