OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)

This commit is contained in:
wangruiguo
2026-09-03 18:49:20 +08:00
commit d647428529
3501 changed files with 1988906 additions and 0 deletions

34
.dev/dev-apache-site.conf Normal file
View File

@@ -0,0 +1,34 @@
<VirtualHost *:8080>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/public
# Pass the Authorization header through to PHP so $request->bearerToken() works.
# Without this, Apache strips it (it only lands in HTTP_AUTHORIZATION), Laravel's
# Sanctum guard never sees the Bearer token, and the test env silently exercises a
# different auth path than production — which is how the 3.9.x Bearer role regression
# slipped past CI. With it, BearerApiCest goes through the real Sanctum-guard path.
<Directory /var/www/html/public>
CGIPassAuth On
</Directory>
ErrorLog /var/www/html/storage/logs/apacheError.log
CustomLog /var/www/html/storage/logs/access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/public
SSLEngine on
SSLCertificateFile /etc/ssl/certs/cert.pem
SSLCertificateKeyFile /etc/ssl/private/key.pem
SetEnv HTTPS "on"
<Directory /var/www/html/public>
CGIPassAuth On
</Directory>
ErrorLog /var/www/html/storage/logs/apacheError.log
CustomLog /var/www/html/storage/logs/access.log combined
</VirtualHost>