friendship ended with social-app. php is my new best friend

move stuff to main dir

public/.env.example .env.example
-15
public/client-metadata.json
···
-
{
-
"client_id": "http://localhost:5173/client-metadata.json",
-
"application_type": "web",
-
"client_name": "smallbird-social",
-
"client_uri": "https://localhost:5173",
-
"dpop_bound_access_tokens": true,
-
"grant_types": ["authorization_code", "refresh_token"],
-
"redirect_uris": ["http://localhost:5173/login"],
-
"response_types": ["code"],
-
"scope": "atproto transition:generic",
-
"dpop_bound_access_tokens": true,
-
"jwks_uri": "http://localhost:5173/jwks.json",
-
"token_endpoint_auth_method": "private_key_jwt",
-
"token_endpoint_auth_signing_alg": "ES256"
-
}
···
public/config.php.example config.php.example
+4
vite.config.js
···
usePHP({
entry: [
'index.php',
'oauth/*',
'oauth/**/*.json',
'templates/**/*.latte',
···
usePHP({
entry: [
'index.php',
+
'config.php',
+
'.env',
+
'client-metadata.json',
+
'jwks.json',
'oauth/*',
'oauth/**/*.json',
'templates/**/*.latte',