惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
雷峰网
雷峰网
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
爱范儿
爱范儿
月光博客
月光博客
The GitHub Blog
The GitHub Blog
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
B
Blog
T
Tailwind CSS Blog
美团技术团队
D
Docker
V
Visual Studio Blog
Martin Fowler
Martin Fowler
博客园 - 聂微东
The Cloudflare Blog

Feed of "schmarty/gem-diamond"

issue when using indieauth[dot]com? gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond proxy for profile images gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond
gem-diamond
schmarty · 2024-07-28 · via Feed of "schmarty/gem-diamond"

共有 2 个文件被更改,包括 10 次插入4 次删除

@ -4,9 +4,9 @@ class Config {
public static $base = 'https://webring.example.com/';
// Extra allowed prefixes for webring links. ($base is always included)
public static $allowedLinkDomains = [
//'https://xn--sr8hvo.ws/',
];
public static $allowedLinkDomains = [
//'https://xn--sr8hvo.ws/',
];
// User-agent string for requests this client makes
public static $useragent = 'IndieWeb Web Ring/2.0';
@ -17,6 +17,10 @@ class Config {
// Micropub scopes we want
public static $scope = 'profile';
// OAuth Client Metadata
public static $client_name = 'An IndieWeb Webring 🕸️💍';
public static $logo_uri = 'data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 180 100%22><text y=%22.9em%22 font-size=%2290%22>🕸️💍</text></svg>';
// Path to database
public static $dbPath = __DIR__ . '/../data/db.sqlite3';
public static $dbPath = __DIR__ . '/../data/db.sqlite3';
}

@ -9,6 +9,8 @@ $app = new Micropubkit\IndieAuthEngine(dirname(__FILE__).'/../views', [
'base' => \Config::$base,
'scope' => \Config::$scope,
'useragent' => \Config::$useragent,
'client_name' => \Config::$client_name,
'logo_uri' => \Config::$logo_uri,
]);
// set up db