添加与Web Authn相关依赖(补充)
This commit is contained in:
parent
2c281ae596
commit
b1f58ca53f
13
assets/SimpleWebAuthnBrowser.php
Normal file
13
assets/SimpleWebAuthnBrowser.php
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\assets;
|
||||||
|
|
||||||
|
use yii\web\AssetBundle;
|
||||||
|
|
||||||
|
class SimpleWebAuthnBrowser extends AssetBundle
|
||||||
|
{
|
||||||
|
public $sourcePath = '@npm/simplewebauthn--browser/dist/bundle';
|
||||||
|
public $js = [
|
||||||
|
'index.js',
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user